Re: valueForKey for Relationship?
Re: valueForKey for Relationship?
- Subject: Re: valueForKey for Relationship?
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Thu, 2 Sep 2004 15:23:25 -0500
James Cicenia, email@hidden, wrote:
>Is there a variant, I haven't found it in the api yet, that returns an
>array of related objects based upon the key?
valueForKey works with relationships:
// BikeEO <->> WheelEO:
assert( bike.valueForKey( "wheels" ) instanceof NSArray );
| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.