1

I'm currently working on notification centers.

I read that there are 4 types of Notification Centers are there.

  1. NSNotificationCenter
  2. NSDistributedNotificationCenter
  3. DarwinNotificationCenter
  4. 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:

  1. Googled, got two reference (DarwinNotificationConcepts , NSDistributedNotificationCenter). But confused after reading.
  2. Read the iOS books available on this link, get a overview. But nothing in details

Thanks in advance

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
  • 1
    You are aware that `NSDistributedNotificationCenter` and `DarwinNotificationCenter` are not available in iOS (a least not to Apples documentation) – rckoenes Jan 29 '13 at 12:30
  • @rckoenes: No, i was not aware. thanks for the information :) – Midhun MP Jan 29 '13 at 12:43
  • for DarwinNotificationCenter under ios see http://stackoverflow.com/questions/14229955/is-there-a-way-to-check-if-the-ios-device-is-locked-unlocked – AlexWien Jul 09 '13 at 23:07

1 Answers1

2

Both DarwinNotificationConcepts and NSDistributedNotificationCenter are 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 notifyd to work.

NSDistributedNotificationCenter has the same basic working as NSNotificationCenter but works between processes. Available since OS X 10.0

Pierre-Luc Simard
  • 2,723
  • 19
  • 27