Re: awakeFromNib and sheets
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