Midhun MP
Midhun MP

Reputation: 107121

Various types of Notification Centers available for iOS

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

Upvotes: 1

Views: 1335

Answers (1)

Pierre-Luc Simard
Pierre-Luc Simard

Reputation: 2721

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

Upvotes: 2

Related Questions