On 12 dec 2009, at 22.04, Jerry Krinock wrote:

>> And although NSDictionary and CFDictionary objects allow their keys to be 
>> objects of any type, if the keys are not string objects, the collections are 
>> not property-list objects.
> 
> Actually, there's a third bug, since that statement is incorrect.  Dictionary 
> keys can be any type *that conforms to NSCopying*.


That's strictly speaking only true for NSDictionary, where you can't configure 
how keys are added to the dictionary. CFDictionary allows full control over 
that, and doesn't even require for the keys to be objects.

j o a r


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to