Re: Unarchiving data from NSUserDefaults
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