windowDidBecomeMain(_:)
Tells the delegate that the window has become main.
Declaration
@MainActor optional func windowDidBecomeMain(_ notification: Notification)Parameters
- notification:
A notification named Didbecomemainnotification.
Discussion
You can retrieve the window object in question by sending object to notification.