-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature coredata #19
base: master
Are you sure you want to change the base?
Feature coredata #19
Conversation
@sinnerschrader-mobile/ios to be code reviewed |
Fixes #15 |
|
||
+ (NSEntityDescription*)entityInManagedObjectContext:(NSManagedObjectContext*)moc_ | ||
{ | ||
#warning use mogenerator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit ugly. We should make sure this works with projects that don't use MOGenerator, or that have a different MOGenerator template file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, it seems to be more a dependency, we could remove the method and move the declaration to a protocol. Then use custom mogenerator template to declare the method
…ategory This will make it easier to later move those methods to the MOGenerator template. This commit also groups methods by public/private. The public methods also got shorter names.
Because properties are attributes or relationships, but this method only uses attributes.
Fixes #15