Instance Property

sheets

An array of the sheets currently attached to the window.

Declaration

@property(readonly, copy) NSArray<__kindof NSWindow *> *sheets;

Discussion

The value of this property is an ordered array that contains—in top-to-bottom order—the presented sheets that are attached to the window, followed by queued sheets, in the order they were queued. The array doesn’t include nested sheets or subsheets.

See Also

Managing Sheets

attachedSheet

The sheet attached to the window.

sheet

A Boolean value that indicates whether the window has ever run as a modal sheet.

- beginSheet:completionHandler:

Starts a document-modal session and presents—or queues for presentation—a sheet.

- beginCriticalSheet:completionHandler:

Starts a document-modal session and presents the specified critical sheet.

- endSheet:

Ends a document-modal session and dismisses the specified sheet.

- endSheet:returnCode:

Ends a document-modal session and dismisses the specified sheet.

sheetParent

The window to which the sheet is attached.