• 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: Saving data as NSData using NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Saving data as NSData using NSUserDefaults (From: Tharindu Madushanka <email@hidden>)
 >Re: Saving data as NSData using NSUserDefaults (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Saving data as NSData using NSUserDefaults
  • Next by Date: Problems understanding CALayer geometry
  • Previous by thread: Re: Saving data as NSData using NSUserDefaults
  • Next by thread: Problems understanding CALayer geometry
  • Index(es):
    • Date
    • Thread