• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding to-many objects programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding to-many objects programmatically


  • Subject: Re: Adding to-many objects programmatically
  • From: Jenny M <email@hidden>
  • Date: Fri, 15 Jan 2010 22:57:18 -0800 (PST)

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 <email@hidden> 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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding to-many objects programmatically
      • From: Roland King <email@hidden>
    • Re: Adding to-many objects programmatically
      • From: mmalc Crawford <email@hidden>
References: 
 >Adding to-many objects programmatically (From: Jenny M <email@hidden>)
 >Re: Adding to-many objects programmatically (From: Jenny M <email@hidden>)
 >Re: Adding to-many objects programmatically (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: Scrolling [SOLVED]
  • Next by Date: Re: Adding to-many objects programmatically
  • Previous by thread: Re: Adding to-many objects programmatically
  • Next by thread: Re: Adding to-many objects programmatically
  • Index(es):
    • Date
    • Thread