Registering for NSNotification globally?
Registering for NSNotification globally?
- Subject: Registering for NSNotification globally?
- From: Lee Morgan <email@hidden>
- Date: Tue, 7 Dec 2004 20:53:02 -0500
Is there a way that I can register my app to receive a specific
notification when it is posted for _any_ other app?
For example, so I could register for the
"NSApplicationDidBecomeActiveNotification" and have my method called
whenever the user switches apps (not just to mine), and then find out
the name of the newly activated app.
If not then what is the best way to get this kind of notification?
Thanks,
Lee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden