Re: Saving data as NSData using NSUserDefaults
Re: Saving data as NSData using NSUserDefaults
- Subject: Re: Saving data as NSData using NSUserDefaults
- From: Tharindu Madushanka <email@hidden>
- Date: Sat, 21 Nov 2009 20:15:06 +0530
yep got the idea now, it seems setObject: is the one to use for all the
object types. But there are multiple retrieve methods to make work easier.
Thanks :)
On Sat, Nov 21, 2009 at 8:10 PM, Fritz Anderson <email@hidden>wrote:
> On 21 Nov 2009, at 8:32 AM, Tharindu Madushanka wrote:
>
> > I saw a method to retreive data as NSData using NSUserDefaults class, but
> it
> > seems like there is no method to save NSData. no method like setData:
> > forKey:
> >
> > Is it possible to save somethings as for example image as NSData in
> > NSUserDefaults
>
> Does setObject:forKey: not work for you?
>
> — F
>
>
_______________________________________________
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