windowWillBeginSheet(_:)
Notifies the delegate that the window is about to open a sheet.
Declaration
@MainActor optional func windowWillBeginSheet(_ notification: Notification)Parameters
- notification:
A notification named Willbeginsheetnotification.
Discussion
You can retrieve the window object in question by sending object to notification.