(Creation) |
(tiny bit of formatting) |
||
Line 1: | Line 1: | ||
A notification is a message sent to one or more observing objects to inform them of an event in a program. Not to be confused with notifications a user receives in the Notification Center or | A '''notification''' is a message sent to one or more observing objects to inform them of an event in a program. Not to be confused with the notifications a user receives in the Notification Center (or push notifications). | ||
'' | ''To do: explain what they are, how to use them and why they are useful.'' | ||
Relevant APIs: | Relevant APIs: | ||
Line 11: | Line 11: | ||
* [https://developer.apple.com/library/mac/documentation/Darwin/Reference/DarwinNotify/Reference/reference.html notify] | * [https://developer.apple.com/library/mac/documentation/Darwin/Reference/DarwinNotify/Reference/reference.html notify] | ||
Darwin notifications are handled by [[ | Darwin notifications are handled by [[notifyd]]. | ||
== List of Notification pages == | == List of Notification pages == | ||
Line 67: | Line 67: | ||
== References == | == References == | ||
[https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/MacOSXNotifcationOv/Introduction/Introduction.html OS X Notification Overview] | * [https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/MacOSXNotifcationOv/Introduction/Introduction.html OS X Notification Overview] | ||
[https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Notifications/Introduction/introNotifications.html Notification Programming Topics] | * [https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Notifications/Introduction/introNotifications.html Notification Programming Topics] | ||
[https://developer.apple.com/library/mac/samplecode/NotifyTool/Listings/NotifyTool_c.html notify example] | * [https://developer.apple.com/library/mac/samplecode/NotifyTool/Listings/NotifyTool_c.html notify example] |
Revision as of 19:56, 16 May 2014
A notification is a message sent to one or more observing objects to inform them of an event in a program. Not to be confused with the notifications a user receives in the Notification Center (or push notifications).
To do: explain what they are, how to use them and why they are useful.
Relevant APIs:
- NSNotificationCenter
- NSDistributedNotificationCenter
- CPDistributedNotificationCenter
- CPDistributedMessagingCenter
- CFNotificationCenter
- notify
Darwin notifications are handled by notifyd.
List of Notification pages
Here is a list of notification pages that have been linked to from this wiki.
This list is incomplete. You can help by expanding it. Or creating the listed pages. You can use Cycript and NotificationExplorer to retrieve the notifications that exist in a process.