• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [newbie] Handling a preferences window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: [newbie] Handling a preferences window
      • From: Jeremy Dronfield <email@hidden>
References: 
 >Re: [newbie] Handling a preferences window (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Left mouse events in a window
  • Next by Date: Re: NSBezierPath Problems
  • Previous by thread: Re: [newbie] Handling a preferences window
  • Next by thread: Re: [newbie] Handling a preferences window
  • Index(es):
    • Date
    • Thread