NSWindow remember whether showing on re-launch
NSWindow remember whether showing on re-launch
- Subject: NSWindow remember whether showing on re-launch
- From: Roland King <email@hidden>
- Date: Sat, 08 Feb 2014 13:43:39 +0800
I have a window in my OSX application which shows a log of commands. It's not 'Visible At Launch' because you often don't need to see it. It's also excluded from the windows menu, instead it has its own permanent menu item on that menu which both shows if it's enabled and acts as a menu item to toggle it. All works fine.
I want however the window to remember its state and if it was showing when the app was terminated, show on re-start. I can do that with a user default quite easily but figured this has to be a very common task and thought there must be a standard way to accomplish it. Is there?
_______________________________________________
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