Re: Help with this crashing method
Re: Help with this crashing method
- Subject: Re: Help with this crashing method
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 09 Nov 2008 21:16:11 -0800
On Nov 9, 2008, at 9:03 PM, Andre Masse wrote:
[userDict setObject:[NSImage imageNamed:NSImageNameUser]
forKey:@"userImage"];
"A default’s value must be a property list, that is, an instance of
(or for collections a combination of instances of): NSData, NSString,
NSNumber, NSDate, NSArray, or NSDictionary. If you want to store any
other type of object, you should typically archive it to create an
instance of NSData. For more details, see User Defaults Programming
Topics for Cocoa."
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html
>
mmalc
_______________________________________________
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