Instance Property

window

The receiver’s window object, or nil if it has none.

Declaration

var window: UIWindow? { get }

Discussion

This property is nil if the view has not yet been added to a window.