• 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: Best Place To Save States
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best Place To Save States


  • Subject: Re: Best Place To Save States
  • From: Stephane Sudre <email@hidden>
  • Date: Fri, 28 Apr 2006 17:57:09 +0200


On 28 avr. 06, at 17:42, Jerrod Fowkes wrote:

Hello, I need the ability to save off a state for my application. By that I mean I need to remember some data that was filled in on my form. Currently I am using the main bundle to load Images at runtime. With that, I need the ability to write to a file somewhere on the system if it existed, and if not then I would have to create it.

My question is, where is the best place to create this file? is just tilde slash a good place?

Is it the standard to throw in a blank file in the resources and then I can write and read to that?

Look for NSUserDefaults in the Foundation Kit documentation. It may be what you're looking for.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Best Place To Save States (From: Jerrod Fowkes <email@hidden>)

  • Prev by Date: Re: controlling "SAVE" button in NSSavePanel
  • Next by Date: Re: Bug in QDGetCursorData on Intel?
  • Previous by thread: Re: Best Place To Save States
  • Next by thread: Bug in QDGetCursorData on Intel?
  • Index(es):
    • Date
    • Thread