Re: NSDistributedNotification names
Re: NSDistributedNotification names
- Subject: Re: NSDistributedNotification names
- From: "A.M." <email@hidden>
- Date: Mon, 24 Mar 2008 11:12:27 -0400
On Mar 24, 2008, at 10:57 AM, Jens Alfke wrote:
Distributed notifications aren't the same thing as NSNotifications,
even though Foundation tries to give them a similar API. Regular
notifications aren't available to other processes; a notification
has to be explicitly posted as distributed, and few are. Distributed
notifications are mostly used internally by the OS, though a few are
documented.
- another application has been launched
- another application is being switched to active (for now, i check
periodically the active application with NSWorkspace)
I remember reading about a distributed notification for apps
switching, but I don't remember where. There may well be a
notification for an app being launched, but I don't know what it is.
Enter "Notification Watcher":
http://www.tildesoft.com/Programs.html
Cheers,
M
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden