• 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: Where are window prefs stored?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Where are window prefs stored? (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: A simple doubt about array
  • Next by Date: Re: changing locale
  • Previous by thread: Re: Where are window prefs stored?
  • Next by thread: from CFDataRef to NSString
  • Index(es):
    • Date
    • Thread