Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Introduction to Sheets

Contents:

Organization of This Document


A sheet is simply a dialog attached to a specific window, ensuring that a user never loses track of which window the dialog belongs to. Sheets can be dialogs that require information from the user (such as a Save dialog) or they can be alerts that provide messages about error conditions or warn users of potentially hazardous actions (such as a Save Before Quitting alert).

Alert sheets are document-modal whereas standard alert dialogs are application-modal. A standard alert dialog appears in its own window (technically, an NSPanel object) and allows no user action in the application until the user dismisses the alert. See Dialogs and Special Panels for a discussion of standard alert dialogs.

The “Dialogs” chapter in Apple Human Interface Guidelines discusses sheets from the point of view of how they relate to other Mac OS X user interface objects.

Cocoa developers interested in using sheets in their application should read this document.

Organization of This Document

This programming describes sheets and how they work, and provides examples on how you can use sheets in your applications. It contains the following articles:



Next Page > Hide TOC


Last updated: 2006-09-05




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice