FROM : Shawn Erickson
DATE : Sat Apr 23 21:31:04 2005
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>
DATE : Sat Apr 23 21:31:04 2005
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>
| Related mails | Author | Date |
|---|---|---|
| Graham | Apr 23, 19:29 | |
| Shawn Erickson | Apr 23, 21:31 | |
| glenn andreas | Apr 23, 21:33 | |
| James Dessart | Apr 24, 16:01 |






Cocoa mail archive

