registering for NSApplicationDidFinishLaunchingNotification

  • I'm working on a carbon application that the new stuff is mostly
    cocoa. I call NSApplicationLoad(); and get things set up just fine.
    Now I have a class that gets created very early in the launch
    process. I tried to register for
    NSApplicationDidFinishLaunchingNotification but I never get called.
    Can I do this? Is there a way for my Cocoa part of the application to
    get notified when the Application finishes launching.

    thanks for the help
    -dave
  • There is also the NSApplicationDidFinishLaunching delegate method for
    the delegate of NSApplication, though the notification should
    normally work as well.

    Patrick

    On 29-Sep-06, at 20:02 PM, David Alter wrote:

    > I'm working on a carbon application that the new stuff is mostly
    > cocoa. I call NSApplicationLoad(); and get things set up just fine.
    > Now I have a class that gets created very early in the launch
    > process. I tried to register for
    > NSApplicationDidFinishLaunchingNotification but I never get called.
    > Can I do this? Is there a way for my Cocoa part of the application
    > to get notified when the Application finishes launching.
    >
    > thanks for the help
    > -dave
    >
previous month september 2006 next month
MTWTFSS
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Go to today