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

Saving data as NSData using NSUserDefaults


  • Subject: Saving data as NSData using NSUserDefaults
  • From: Tharindu Madushanka <email@hidden>
  • Date: Sat, 21 Nov 2009 20:02:50 +0530

Hi,

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

Thank you,
Tharindu
_______________________________________________

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

  • Follow-Ups:
    • Re: Saving data as NSData using NSUserDefaults
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: How to change UITableView cell style dynamically
  • Next by Date: Re: How to change UITableView cell style dynamically
  • Previous by thread: NSDecimal chokes on very small numbers
  • Next by thread: Re: Saving data as NSData using NSUserDefaults
  • Index(es):
    • Date
    • Thread