Re: [newbie] Handling a preferences window
Re: [newbie] Handling a preferences window
- Subject: Re: [newbie] Handling a preferences window
- From: James DiPalma <email@hidden>
- Date: Sun, 29 Sep 2002 21:57:08 -0400
From: Yann Bizeul <email@hidden>
TSMPrefs is not a subclass of NSWindowController ;-) I finally decided
to not create a subclass in IB just to handle open and close. So you
think I should ?
I prefer to avoid using NSWindowController, because I feel comfortable
with loadNibNamed:owner: and don't need an NSWindowController to set my
prefence panel's frame autosave name. For non-document windows,
NSWindowController has little value beyond releasing top-level objects
when its window is closed. I can do this release too.
If you feel comfortable using NSWindowController and it works for you,
then it works for you.
Its been a long time, but using NSWindowController for non-document
windows has been discussed on this list, you may find some interesting
points of view if you search some archives. Look for this subject:
"Instantiating window from nib" from October, 2001.
-jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.