• 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: CoreData relationship/KVC question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData relationship/KVC question


  • Subject: Re: CoreData relationship/KVC question
  • From: Steve Steinitz <email@hidden>
  • Date: Sat, 31 Jan 2009 08:16:27 +1100

Hi Jean-Nicolas

I may not grasp your question but

are relationship also KVC?

You can do KVC stuff with relationships like

    employees = [department valueForKey: @"employees"];

but I doubt that's what you mean.

and, will CoreData aumatically call the correct method depending on
the type of the "value" I'm setting (either an NSSet or an
NSManagedObject) ?

I don't think so. But don't take my word for it. I look forward to replies from people who understand your question more clearly.


Cheers,

Steve

_______________________________________________

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: CoreData relationship/KVC question
      • From: Jean-Nicolas Jolivet <email@hidden>
  • Prev by Date: Re: How to draw text with fade out effect?
  • Next by Date: Re: CoreData relationship/KVC question
  • Previous by thread: Re: CoreData relationship/KVC question
  • Next by thread: Re: CoreData relationship/KVC question
  • Index(es):
    • Date
    • Thread