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

Re: Coding


  • Subject: Re: Coding
  • From: Thomas Deniau <email@hidden>
  • Date: Wed, 05 Dec 2001 17:13:01 +0100

Le 5/12/01 16:42, email@hidden disait :

> I have a couple of NSMutableArrays in my program and I need to figure out
> how to save the enclosed data so that it is available when I relaunch the
> program.

Look at NSUserDefaults if you want to save preferences (there's a good tut
on cocoadevcentral.com).
Otherwise you can yse -[NSArray writeToFile:atomically:] to save your array
to a given file.

--
Thomas Deniau


References: 
 >Coding (From: email@hidden)

  • Prev by Date: Coding
  • Next by Date: Re: ObjC++ (and a word about Java, too ;-)
  • Previous by thread: Coding
  • Next by thread: blank plugin icon
  • Index(es):
    • Date
    • Thread