• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with this crashing method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Help with this crashing method (From: Andre Masse <email@hidden>)

  • Prev by Date: Help with this crashing method
  • Next by Date: Re: Help with this crashing method
  • Previous by thread: Help with this crashing method
  • Next by thread: Re: Help with this crashing method
  • Index(es):
    • Date
    • Thread