Customizing the Notification Center

Several OS X Mountain Lion apps take advantage of a feature called notifications, which enables them to send messages to OS X about events and alerts that are happening on your Mac. For example, the App Store uses the Notification Center to let you know when there are OS X updates available.

There are actually four kinds of notifications:

bullet.tif Sound. This is a sound effect that plays when some app-related event occurs.

bullet.tif Alert. This is a message that pops up on your MacBook Air screen, as shown in Figure 4.18. You must then click a button to dismiss the message before you can continue working with your current app.

9781118370230-fg0418.eps

4.18 An example of an alert notification.

bullet.tif Banner. This is a message that appears in the top-right corner of the screen, as shown in Figure 4.19. Unlike an alert, a banner allows you to keep using your current app and disappears automatically after a few seconds.

9781118370230-fg0419.eps

4.19 An example of a banner notification.

Badge. This is a small red icon ...

Get MacBook Air Portable Genius, 4th 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.