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 <fri...@manoverboard.org>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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to