Type Property

didChangeScreenParametersNotification

Posted when the configuration of the displays attached to the computer is changed.

Declaration

class let didChangeScreenParametersNotification: NSNotification.Name

Discussion

The configuration change can be made either programmatically or when the user changes settings in the Displays control panel. The notification object is shared. This notification does not contain a userInfo dictionary.

See Also

Notifications

class let didBecomeActiveNotification: NSNotification.Name

Posted immediately after the app becomes active.

class let didFinishLaunchingNotification: NSNotification.Name

Posted at the end of the finishLaunching() method to indicate that the app has completed launching and is ready to run.

class let didHideNotification: NSNotification.Name

Posted at the end of the hide(_:) method to indicate that the app is now hidden.

class let didResignActiveNotification: NSNotification.Name

Posted immediately after the app gives up its active status to another app.

class let didUnhideNotification: NSNotification.Name

Posted at the end of the unhideWithoutActivation() method to indicate that the app is now visible.

class let didUpdateNotification: NSNotification.Name

Posted at the end of the updateWindows() method to indicate that the app has finished updating its windows.

class let willBecomeActiveNotification: NSNotification.Name

Posted immediately before the app becomes active.

class let willFinishLaunchingNotification: NSNotification.Name

Posted at the start of the finishLaunching() method to indicate that the app has completed its initialization process and is about to finish launching.

class let willHideNotification: NSNotification.Name

Posted at the start of the hide(_:) method to indicate that the app is about to be hidden.

class let willResignActiveNotification: NSNotification.Name

Posted immediately before the app gives up its active status to another app.

class let willTerminateNotification: NSNotification.Name

Posted by the terminate(_:) method to indicate that the app will terminate.

class let willUnhideNotification: NSNotification.Name

Posted at the start of the unhideWithoutActivation() method to indicate that the app is about to become visible.

class let willUpdateNotification: NSNotification.Name

Posted at the start of the updateWindows() method to indicate that the app is about to update its windows.

class let didFinishRestoringWindowsNotification: NSNotification.Name

Posted when the app is finished restoring windows.

class let didChangeOcclusionStateNotification: NSNotification.Name

Posted when the app’s occlusion state changes.