• 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: NSApplication callback of some sort?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSApplication callback of some sort?


  • Subject: Re: NSApplication callback of some sort?
  • From: "David P. Henderson" <email@hidden>
  • Date: Wed, 18 Jul 2001 19:36:47 -0400

On Wednesday, July 18, 2001, at 07:22 , Graham Wihlidal wrote:

> I am really need to this language and framework, but I think I am
> progressing quite well. My application is near done, but I need to
> launch something as soon as the application starts up. I tried
> calling a function right before "return NSApplicationMain(argc, argv);"
> which in the end opens a window. This method works up until the point
> that it has to open a window created in IB. It should open it, but
> never does. I am guessing that NSApplicationMain inits all that
> stuff. How can I make a callback or something that I can call this
> function on startup and be able to access Cocoa, Foundation, the
> works... ?
>
Take a look at the delegate methods in NSApplication here are two you
might want to look at: -applicationDidFinishLaunching: and
-applicationWillFinishLaunching:.

Dave
--
Chaos Assembly Werks
"Imagination is more important than knowledge."
- Albert Einstein


  • Follow-Ups:
    • Re: NSApplication callback of some sort?
      • From: Graham Wihlidal <email@hidden>
  • Prev by Date: NSApplication callback of some sort?
  • Next by Date: Re: Applescript over SOAP/XML
  • Previous by thread: NSApplication callback of some sort?
  • Next by thread: Re: NSApplication callback of some sort?
  • Index(es):
    • Date
    • Thread