Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Summary

In this hour, you learned about the various ways in which you can use built-in Cocoa APIs to alert users about important events in your application and prompt them for how they want to react to those events.

You learned about the NSAlert class, a class that allows you to display modal dialog boxes quickly and easily. Then you learned about sheets, a more flexible and customizable way of popping up modal interactive windows, and you learned how to customize them and their positions.

Notifying users about important events and prompting them for action may happen quite often in the lifetime of an application, and Apple’s built-in facilities supporting this make your job as a Mac developer much easier.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial