• 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
Keypaths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keypaths


  • Subject: Keypaths
  • From: Niklas Saers <email@hidden>
  • Date: Tue, 15 Jul 2008 12:48:28 +0200

Hi,
I've implemented a little tree through my class Node that contains the properties NSString* name and NSMutableArray *subnodes


I'd love to say something like "Give me the nodes that have a grand- father named Balbo Baggins and father named Ponto Baggins" (should be Rosa and Polo Baggins) How do I express this with keypaths? How should I make a keypath that returns an array of Nodes and another keypath that creates an array of NSStrings with only the name properties of the nodes?

Cheers

	Nik
_______________________________________________

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: Keypaths
      • From: "Hamish Allan" <email@hidden>
  • Prev by Date: Re: how to invoke the authentication dialog
  • Next by Date: Re: Hillegass, Third Edition, Chapter 18
  • Previous by thread: Re: how to invoke the authentication dialog
  • Next by thread: Re: Keypaths
  • Index(es):
    • Date
    • Thread