Re: awakeFromNib and sheets
Re: awakeFromNib and sheets
- Subject: Re: awakeFromNib and sheets
- From: Markus Hitter <email@hidden>
- Date: Sat, 25 Aug 2001 13:37:04 +0200
Mark T wrote:
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
Bill Cheeseman wrote:
Try windowDidLoad.
My solution in this case was to "inject" a method into the run loop:
[[NSRunLoop currentRunLoop] performSelector:@selector(openMySheet)
target:self argument:nil order:0
modes:[NSArray arrayWithObject:NSDefaultRunLoopMode]];
This, you don't need to be delegate.
Am Samstag, 25. August 2001 um 04:25 schrieb Gary C Martin:
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.
-awakeFromNib should be the right place. It's called before the
window is displayed.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/