Chapter 11. Using Notifications

A user may have several RaiseMan documents open when he decides that it is too hard to read them with a purple background. The user opens the preferences panel, changes the background color, but then is disappointed to find that the color of the existing windows doesn't change. When the user sends you an e-mail about this problem, you reply, “The defaults are read only when the document window is created. Just save the document, close it, and open it again.” In response, the user sends you a mean e-mail. It would be better to update all of the existing windows. But how many are there? Will you have to keep a list of all open documents?

What Notifications Are

The task is actually much easier than that. Every running ...

Get COCOA PROGRAMMING FOR MAC OS X SECOND EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.