@unionOfObjects and direct KVC in NSArray
@unionOfObjects and direct KVC in NSArray
- Subject: @unionOfObjects and direct KVC in NSArray
- From: Frédéric Testuz <email@hidden>
- Date: Wed, 09 Apr 2014 22:24:40 +0200
Say I have an array of Person object with a name property. Is there a difference between :
namesArray = [personsArray valueForKeyPath:@"@unionOfObjects.name"];
and
namesArray = [personsArray valueForKeyPath:@"name"];
On a small test I can just see that the concrete NSArray class returned are not the same but is there something special ?
Frédéric
_______________________________________________
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