Re: Array Key-value Paths
Re: Array Key-value Paths
- Subject: Re: Array Key-value Paths
- From: Scott Anguish <email@hidden>
- Date: Wed, 26 May 2004 00:53:10 -0400
On May 25, 2004, at 11:50 PM, Sheehan Olver wrote:
returns an NSArray of the description properties of all the objects in
"array". So my question is what happens when you call:
[self setValue:descriptionArray
forKeyPath:@"array.description"]
good question. Not sure honestly. My expectation would be that it'd
either barf trying to call setDescription on array.
It can't call "setDescription:" on anything because "array" is not
populated. I couldn't find a detailed description of key-value paths
in the documentation, unless I just looked in the wrong place.
KVC has documentation on this, including the funky array behavior I
think.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.