• 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: Unarchiving data from NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unarchiving data from NSUserDefaults


  • Subject: Re: Unarchiving data from NSUserDefaults
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 18 Sep 2007 16:56:04 -0600


On Sep 18, 2007, at 4:31 PM, Devraj Mukherjee wrote:

I have a password field which is bound the stand user defaults
controller in the Nib. All works well, the password gets saved etc,
but when I try and fetch the password back out it obviously archived.

Are there any simple examples of how to Unarchive the data?

<file:///Developer/ADC Reference Library/documentation/Cocoa/ Reference/Foundation/Classes/NSUnarchiver_Class/Reference/ Reference.html#//apple_ref/occ/clm/NSUnarchiver/ unarchiveObjectWithData:>


Also, out of curiosity, why are you saving passwords in the user defaults? Usually passwords get stored in the keychain.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: 
 >Unarchiving data from NSUserDefaults (From: "Devraj Mukherjee" <email@hidden>)

  • Prev by Date: Unarchiving data from NSUserDefaults
  • Next by Date: Re: Getting Window FrameRect From another launched Application
  • Previous by thread: Unarchiving data from NSUserDefaults
  • Next by thread: nib not launching properly
  • Index(es):
    • Date
    • Thread