Re: NSDictionary setValue KVO
Re: NSDictionary setValue KVO
- Subject: Re: NSDictionary setValue KVO
- From: Quincey Morris <email@hidden>
- Date: Sun, 10 Oct 2010 14:00:46 -0700
On Oct 10, 2010, at 12:57, Ken Thomases wrote:
> and b) what the heck "myDict.@allValues" is supposed to mean. I'm not aware of that being a valid KVC collection operator.
From the discussion of -[NSDictionary valueForKey:] in the class reference:
> If key does not start with “@”, invokes objectForKey:. If key does start with “@”, strips the “@” and invokes [super valueForKey:]with the rest of the key.
_______________________________________________
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