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

Re: Auto Save - location


  • Subject: Re: Auto Save - location
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 23 Apr 2005 12:31:04 -0700


On Apr 23, 2005, at 10:29 AM, Graham wrote:

Hi,

I am a Cocoa newbie.

When one specifies an Auto Save Name in Interface Builder, where in the file system does the application store the data (window size)?
I need to delete it for testing.

It utilizes NSUserDefaults...

<http://developer.apple.com/documentation/Cocoa/Conceptual/ UserDefaults/index.html>

...which is built on...

<http://developer.apple.com/documentation/CoreFoundation/Conceptual/ CFPreferences/index.html>

Anyway you should find a file with the bundle name of your application under ~/Library/Preferences but consider using defaults [1] command line tool instead.

-Shawn

[1] <http://developer.apple.com/documentation/Darwin/Reference/ManPages/ man1/defaults.1.html>

_______________________________________________
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: 
 >Auto Save - location (From: Graham <email@hidden>)

  • Prev by Date: Re: refresh window's background/mask
  • Next by Date: Re: Auto Save - location
  • Previous by thread: Auto Save - location
  • Next by thread: Re: Auto Save - location
  • Index(es):
    • Date
    • Thread