• 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 an array in NSUserDefaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Saving an array in NSUserDefaults


  • Subject: Saving an array in NSUserDefaults
  • From: Jesus De Meyer <email@hidden>
  • Date: Wed, 16 Apr 2003 18:29:51 +0200

Hi,

In my app I need to save an array in the user defaults. When I remove my preferences and set the array, it gets saved, so no problems there. Problems arise when I change the contents of the array and try to save it again.

I know the array has its contents, but the prefs file doesn't have these values, all it has are the values of the time before I changed them. I did use the synchronize method but it didn't work.

What do I need to do?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • RE: Saving an array in NSUserDefaults
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: PB hangs forever when compiling
  • Next by Date: Re: File formats in Cocoa
  • Previous by thread: Re: PB hangs forever when compiling
  • Next by thread: RE: Saving an array in NSUserDefaults
  • Index(es):
    • Date
    • Thread