On 12 Dec 2009, at 14:58, Jerry Krinock wrote:

> 
> On 2009 Dec 11, at 23:21, Clark Cox wrote:
> 
>> The message printed is unfortunate, as it doesn't really tell you what
>> is wrong (please file a bug). It's fine to have numbers as keys in
>> dictionaries; however keys property lists (and therefore in user
>> defaults) must be strings.
> 
> Well, maybe there are two bugs here.  The message is one bug.
> 
> Where did you learn that keys in dictionaries in user defaults must be 
> strings?

All the NSUserDefaults APIs take NSString for their key argument.

_______________________________________________

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