Re: Where are window prefs stored?
Re: Where are window prefs stored?
- Subject: Re: Where are window prefs stored?
- From: Ken Thomases <email@hidden>
- Date: Tue, 10 Jun 2008 20:53:09 -0500
On Jun 10, 2008, at 4:21 AM, Ken Tozier wrote:
My app opens several palettes and uses the following line to store
the palette positions
[[self window] setFrameAutosaveName: @"<palette name here>"];
I ran into a problem with the stored size and want to flush the old
prefs and start over. Where are these types of prefs located and is
it safe to just zap them?
Don't directly delete them from the preferences. Use +[NSWindow
removeFrameUsingName:] which is designed for exactly this purpose.
Cheers,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden