• 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: Gary C Martin <email@hidden>
  • Date: Sat, 25 Aug 2001 03:25:13 +0100

On Saturday, August 25, 2001, at 02:12 am, Mark T wrote:

awakeFromNib is really more for setting up your application following unarchiving, than *doing* things, like opening sheets, or at least that's my take on it. I think that what you're looking for here is

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification

which you implement in NSApp's delegate. The sheet should open correctly if you tell it to there.

Thanks Mark, this sounded like just the thing and having tried it it does work well operationally but for one small cosmetic hic-up. The windows contents is updated just after the window is rendered on screen, so the users see the nib template being filled in. I'm a little anal about hiding such things form the users gaze :o) Would work very well if you have a window that does not visually get updated programatically.

Regards,
Gary


  • Follow-Ups:
    • Re: awakeFromNib and sheets
      • From: Markus Hitter <email@hidden>
    • Re: awakeFromNib and sheets
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: awakeFromNib and sheets (From: Mark T <email@hidden>)

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