When I tried to use the getter/setter, I get a build warning that says
the NSManagedObject may not respond to that method. I noticed in the
documentation, they're referring to the entities themselves - Employee
and Department. I don't use custom classes, just the data model, so
I've been referring to them as NSManagedObjects the whole time,
though... how would I refer to them by their names?

The objects do load, I ran the program regardless of warnings and it
did set the categories and references. So, how would I get it to build
without those warnings?


On Jan 15, 10:13 pm, mmalc Crawford <mmalc_li...@me.com> wrote:
> "Core Data automatically generates efficient public and primitive get and 
> setaccessor methods for modeled properties (attributes and relationships) of 
> managed object classes (see “Managed Object Accessor Methods”). When you 
> access or modify properties of a managed object, you should use these methods 
> directly."
>
_______________________________________________

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

Reply via email to