Working with Sheets

Modal windows normally consume all events received by the application and prevent users for working in other windows within the same application. Modal windows require the user’s undivided attention before the user can continue working with the application. However, users can switch to other applications even when another application is displaying a modal window. Modal windows are, therefore, called application modal windows because each window can only affect one application.

A sheet is a document modal window. Each sheet is attached to another window. When a sheet is visible, it consumes all events received by its associated window, but users can continue to use other windows in the same application. Using sheets instead ...

Get Cocoa® Programming 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.