• 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: awakeFromNib and sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib and sheets


  • Subject: Re: awakeFromNib and sheets
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 25 Aug 2001 10:56:49 +0100

On Saturday, August 25, 2001, at 03:32 am, Gary C Martin wrote:

Damn and blast - NSWindow does not inherit from NSWindowController. I'm actually using an NSPanel (sub class of NSWindow) drag'n'dropped from the standard palette in IB. Not sure I want to get into sub-classing NSWindowController and all that that might entail (unless someone convinces me).

Subclassing NSWindowController is perfectly normal practice, there is even a template for it in the Project Builder New File... panel.

However, you are perfectly fine doing your pre-display initialisation in -awakeFromNib and your alert display in -applicationDidFinishLaunching, as far as I can see. What's the problem with doing that?


References: 
 >Re: awakeFromNib and sheets (From: Gary C Martin <email@hidden>)

  • Prev by Date: Re: awakeFromNib and sheets
  • Next by Date: Re: Docs, questions and stuff
  • Previous by thread: Re: awakeFromNib and sheets
  • Next by thread: Re: awakeFromNib and sheets
  • Index(es):
    • Date
    • Thread