• 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: Core Data: right way to gather all elements of a to-many relationship?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data: right way to gather all elements of a to-many relationship?


  • Subject: Re: Core Data: right way to gather all elements of a to-many relationship?
  • From: Luke Evans <email@hidden>
  • Date: Wed, 11 Feb 2009 16:37:38 -0800

[[self valueForKeyPath:@"parent.elements"] allObjects]

... this should do the same thing with the expected result. If it does not, there is another problem with your code.

... and it's cold comfort to find that the behaviour is exactly the same. So, at least there isn't 'another' problem :-)





_______________________________________________

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: Core Data: right way to gather all elements of a to-many relationship?
      • From: "I. Savant" <email@hidden>
References: 
 >Core Data: right way to gather all elements of a to-many relationship? (From: Luke Evans <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: "I. Savant" <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: Luke Evans <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: "I. Savant" <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: Luke Evans <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: "I. Savant" <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: Luke Evans <email@hidden>)
 >Re: Core Data: right way to gather all elements of a to-many relationship? (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Communication between objects
  • Next by Date: Re: Core Data: right way to gather all elements of a to-many relationship?
  • Previous by thread: Re: Core Data: right way to gather all elements of a to-many relationship?
  • Next by thread: Re: Core Data: right way to gather all elements of a to-many relationship?
  • Index(es):
    • Date
    • Thread