Greetings, I have a Core Data implementation, using generated subclasses of NSManagedObject for some of my entities.
I used Xcode 4 to generate the initial subclass, then added other business rules methods as needed. I noticed, however, that the to-many relationship methods are stubbed in to the .h file, but there is no implementation in the .m file and it reports incomplete implementation. However, the methods appear to actually work. So I am confused. Am I supposed to implement these or not? If not, what can I do to get rid of the warning? Is there an explanation as to why the Generate Managed Object Subclass menu item would create them in the .h but not implement them in the .m? I ask because I am concerned that I am missing something about Core Data. Thanks in advance. Andrew PS: The method are the to-many relationship methods of the form: - (void)addMediaObject:(MediaResource *)value; - (void)removeMediaObject:(MediaResource *)value; - (void)addMedia:(NSSet *)value; - (void)removeMedia:(NSSet *)value; _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com