Re: Notification when window is closing?
Re: Notification when window is closing?
- Subject: Re: Notification when window is closing?
- From: Randall Meadows <email@hidden>
- Date: Fri, 7 Nov 2008 10:31:43 -0700
On Nov 7, 2008, at 10:27 AM, Jean-Nicolas Jolivet wrote:
I'm working on my App's preference window... To populate the
window's control with the UserDefaults, I use the windowDidLoad
method, grab the defaults and populate my fields/controls (I'm doing
this in my PreferenceController, which is a subclass of
NSWindowController)
I was wondering if there is a similar method I can override when the
window is closing so that I can save the user's change in the
defaults???
NSWindow -windowShouldClose: and -windowWillClose: delegate methods
_______________________________________________
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