• 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: Storing preferenses
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing preferenses


  • Subject: Re: Storing preferenses
  • From: Eivind Andersen <email@hidden>
  • Date: Wed, 8 Oct 2003 14:24:28 +0200

Hi, and thank you for the help!

I switched to using the NSUserDefaults. It sure made the code more compact :), but the problem is still there. When I try to save the buddylist (a NSMutableArray containing "Buddy-objects"), it is empty when I extract it. Everythings works well with stringobjects.
It there a trick to saving/extracting NSMutableArrays from NSUserDefaults?

Best regards,
Eivind Andersen



I really don't know what's going wrong, but I can tell your solution is unnecessarily complex.

Search the docs for NSUserDefaults, get an example or two from the web, and be very happy.

Hope that helps ;o)

On 6 Oct 2003, at 23:56, Eivind Andersen wrote:
_______________________________________________
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: Storing preferenses
      • From: publiclook <email@hidden>
    • Re: Storing preferenses
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: Storing preferenses (From: Óscar Morales Vivó <email@hidden>)

  • Prev by Date: NSConnection question
  • Next by Date: Drag out
  • Previous by thread: Re: Storing preferenses
  • Next by thread: Re: Storing preferenses
  • Index(es):
    • Date
    • Thread