• 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
NSWindowController subclass: best practice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindowController subclass: best practice


  • Subject: NSWindowController subclass: best practice
  • From: Christopher Corbell <email@hidden>
  • Date: Tue, 9 Dec 2003 14:38:57 -0800

I'm hoping to hear discussion on when it's appropriate
to subclass NSWindowController. I've found that in most
cases I can have a window's "controller" (in terms of MVC
architecture) just be a subclass of NSObject - there's rarely
ever any reason to subclass NSWindowController, which it
seems to me is not really a controller in the MVC sense but
more of a manager for the "grunt work" of a window - loading
resources, hooking up responder and document outlets, etc.

Does anyone see NSWindowController differently? In
what cases might it really be necessary to subclass it?

TIA,
Christopher
_______________________________________________
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.

  • Prev by Date: Re: Live update of NSTextField in tool bar
  • Next by Date: (LaunchServices) OS X 10.3 file extensions/mime-types with LaunchServices
  • Previous by thread: Shifting of NSSearchFieldCell
  • Next by thread: (LaunchServices) OS X 10.3 file extensions/mime-types with LaunchServices
  • Index(es):
    • Date
    • Thread