Re: Where's my applicationDidFinishLaunching notification?
Re: Where's my applicationDidFinishLaunching notification?
- Subject: Re: Where's my applicationDidFinishLaunching notification?
- From: Brian Christensen <email@hidden>
- Date: Mon, 17 Nov 2003 17:44:51 -0500
On Nov 17, 2003, at 3:58 PM, Lance Drake wrote:
There's an application from the (rather nice) DiscRecording Cocoa app
sample software that kicks off its internal activities via reception
of a notification to the NSApplication function: -
(void)applicationDidFinishLaunching:(NSNotification *)aNotification.
My 'other' app does not seem to want to arrive at that same place.
Are you implementing the method in your app delegate?
Can anyone suggest what I am missing? It seems that this notification
is something that just happens and is not something you specifically
sign up for.
You don't need to subscribe to it. It's a method that is automatically
sent to your app delegate. (You could actually observe the
NSApplicationDidFinishLaunchingNotification somewhere else if you
really wanted to, but you'd have to make sure whatever other object
you're using is getting instantiated before the notification is sent
out. That's why I'd suggest you leave it in your app delegate.)
/brian
------------------------------------------------------------------
Brian Christensen <email@hidden>
Cocoa Dev Central <
http://www.cocoadevcentral.com>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.