Re: NSWorkspaceDidLaunchApplicationNotification
Re: NSWorkspaceDidLaunchApplicationNotification
- Subject: Re: NSWorkspaceDidLaunchApplicationNotification
- From: Douglas Davidson <email@hidden>
- Date: Mon, 3 Jun 2002 14:35:27 -0700
On Monday, June 3, 2002, at 01:51 PM, Olivier Destrebecq wrote:
[[NSNotificationCenter defaultCenter] addObserver: self selector:
@selector(launchComManager) name:
NSApplicationDidFinishLaunchingNotification object: nil];
[[NSNotificationCenter defaultCenter] addObserver: self selector:
@selector(quitComManager) name: NSApplicationWillTerminateNotification
object: nil];
You must register with NSWorkspace's notification center. See the
NSWorkspace documentation for more information.
Douglas Davidson
_______________________________________________
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.