Contents

windowWillClose(_:)

Tells the delegate that the window is about to close.

Declaration

@MainActor optional func windowWillClose(_ notification: Notification)

Parameters

Discussion

You can retrieve the NSWindow object in question by sending object to notification.

See Also

Closing Windows