I’m currently working on notification centers.
I read that there are 4 types of Notification Centers are there.
- NSNotificationCenter
- NSDistributedNotificationCenter
- DarwinNotificationCenter
- TelephonyNotificationCenter
In which NSNotificationCenter I’m familiar with. TelephonyNotificationCenter is private and not provided for developers.
My question is about NSDistributedNotificationCenter and DarwinNotificationCenter.
What is the use of these two notification centers ? Is it available for developers ? If available how can I use them ?
What I tried:
- Googled, got two reference (DarwinNotificationConcepts , NSDistributedNotificationCenter). But confused after reading.
- Read the iOS books available on this link, get a overview. But nothing in details
Thanks in advance
Both DarwinNotificationConcepts and
NSDistributedNotificationCenterare OS X specific and are not available under iOS.The Darwin Notification Concepts article refers to the Unix under pinnings of MacOS X. Darwin being the Unix subsystem. It’s best used for IPC between an application and a daemon and relies on
notifydto work.NSDistributedNotificationCenterhas the same basic working asNSNotificationCenterbut works between processes. Available since OS X 10.0