O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Notifications Are Not

A notification center allows objects in an application to send notifications to other objects in that same application. When programmers first hear about the notification center, they sometimes think that it is a form of interprocess communication – that they can create an observer in one application and post notifications from an object in another.

Notifications do not travel between applications, at least not via NSNotificationCenter. (Look into NSDistributedNotificationCenter if you need to pass notifications between applications.)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required