Re: NSUserDefaults Croaks on Dictionary Containing NSNumber as Key
Re: NSUserDefaults Croaks on Dictionary Containing NSNumber as Key
- Subject: Re: NSUserDefaults Croaks on Dictionary Containing NSNumber as Key
- From: Jerry Krinock <email@hidden>
- Date: Sat, 12 Dec 2009 22:04:33 -0800
On 2009 Dec 12, at 10:20, Chris Parker 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*.
> Jerry, could you file a bug...
Filed three bugs...
7467449 Documentation -[NSUserDefaults setObject:forKey:] understates actual requirements
7467454 -[NSUserDefaults setObject:] Error Message is misleading
7467455 Property List Programming Guide states requirement for Key too broadly_______________________________________________
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