• 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: removeFrameUsingName: doesn't?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: removeFrameUsingName: doesn't?


  • Subject: Re: removeFrameUsingName: doesn't?
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 28 Feb 2008 13:22:25 -0800


On Feb 28, 2008, at 12:25, Mike Fischer wrote:

OK, nobody answered so I did a further test:
...
Then I relaunched the app, used the IBAction to remove the Auto Save Name and quit the app again. The key was still there! So it's a bug in AppKit/Cocoa it seems. NSWindow -removeFrameUsingName: does nothing at all AFAICT.

Well this time I got interested enough to go read the NSWindow class reference for removeFrameUsingName. It doesn't say that this method is supposed to remove the key from the preferences. It *seems* to say that it leaves the key but removes the frame data (in the sense of setObject: @"" forKey: windowAutosaveName, it looks like, but I'm guessing).


You didn't say whether you saw any non-blank saved frame data associated with the key after using removeFrameUsingName.
_______________________________________________


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: 
 >removeFrameUsingName: doesn't? (From: Mike Fischer <email@hidden>)
 >Re: removeFrameUsingName: doesn't? (From: Mike Fischer <email@hidden>)

  • Prev by Date: Re: Drawing from secondary thread erases resize corner in window?
  • Next by Date: Re: Drawing from secondary thread erases resize corner in window?
  • Previous by thread: Re: removeFrameUsingName: doesn't?
  • Next by thread: Cocoa and Flash
  • Index(es):
    • Date
    • Thread