Array Key-value Paths
Array Key-value Paths
- Subject: Array Key-value Paths
- From: Sheehan Olver <email@hidden>
- Date: Tue, 25 May 2004 22:50:19 -0500
I had a question about key-value paths with arrays. If I have a
property called "array", then
[self valueForKeyPath:@"array.description"]
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"]
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.
Thanks,
Sheehan Olver
_______________________________________________
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.