Contents

modalWindow

The modal window displayed by the app.

Declaration

var modalWindow: NSWindow? { get }

Discussion

This property contains the current standalone modal window or nil if no modal window is being displayed. This property does not contain sheets that are attached to other windows. To retrieve a sheet, use the attachedSheet method of NSWindow.

See Also

Running a Modal Window