Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ability to apply inheritance for the generated base class #19

Open
AntonTheDev opened this issue Aug 10, 2015 · 0 comments
Open

Comments

@AntonTheDev
Copy link
Contributor

Currently there is no way of inheriting from a base class when using other frameworks.

Examples include:

  • Inheriting from Object when using Realm
  • Inheriting from NSManagedObject when using core data.

A nice feature would be to be able to define, as part of the model mapping, the class that the base class is generated by US2MapperKit, and configure the ability to import custom libraries as part of the model generation.

A possible issue that this could break in US2MapperKit is the ability to define non-optional values, as some frameworks may not support it (i.e) realm. Thus when applying inheritance to the base, the ability to define non-optional properties should be disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant