Instance Property

parentWindow

The window that view controllers presented by the dialog controller are displayed in.

Declaration

@IBOutlet weak var parentWindow: NSWindow? { get set }

Discussion

Your app must set this property before presenting a view controller. The window must be at least 800 x 600.