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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to