• 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: 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/


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

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