• 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: controller class for NSPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: controller class for NSPanel


  • Subject: Re: controller class for NSPanel
  • From: Dustin Voss <email@hidden>
  • Date: Sun, 13 Mar 2005 13:03:48 -0800

On 13 Mar, 2005, at 9:20 AM, Luc Vandal wrote:

Hi,

should I use my main controller class for secondary windows (such as NSPanel) or use a different controller class for each window? If so, should I use NSController or NSWindowController (which my main controller class already derives from)?

Thanks!

You should use a separate controller class for any custom secondary windows. Controller classes already get too big as it is. NSWindowController can be used for windows and panels.


NSController, btw, is for Key-Value Observing, and is totally unrelated to NSWindowController.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >controller class for NSPanel (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: How can I stop NSNumberFormatter (via Pallet) from always rounding to two decimal places?
  • Next by Date: Re: [newbie:] elegant way using multithreading with NSThreads
  • Previous by thread: controller class for NSPanel
  • Next by thread: How can I stop NSNumberFormatter (via Pallet) from always rounding to two decimal places?
  • Index(es):
    • Date
    • Thread