Keypaths
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