Hello,

I am setting up a preferences window, and I would like awakeFromNib: to be 
invoked earlier than it does.  Currently, it only gets invoked when the 
preferences window is shown / opened.

I expected that there might be an option to specify this in the .nib file 
itself, and I got my hopes up with the "deferred" check box which is enabled by 
default - the tooltip said "Sets whether the window server creates a window 
device for the window immediately.  When YES, the window server defers creating 
the window device until the window is moved onscreen."

Right now the reason I want to do this is that the contents of the controls in 
the preferences windows can themselves be used to save the preferences.  For 
example I'd stick [backgroundColor color] in a dictionary (where 
backgroundColor is a color well) instead of managing my own NSColor * and 
responding to delegate methods.

Thanks in advance,

- Dave H.
_______________________________________________

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