Global Variable

NSViewFocusDidChangeNotification

Deprecated in macOS 10.4 and later. Posted for an NSView object and each of its descendants (recursively) whenever the frame or bounds geometry of the view changed.

Declaration

NSNotificationName NSViewFocusDidChangeNotification;

Discussion

Instead use NSViewBoundsDidChangeNotification and NSViewFrameDidChangeNotification to get the same information provided by this notification.

The notification object is the view whose geometry changed. This notification does not contain a userInfo dictionary.

See Also

Notifications

NSViewBoundsDidChangeNotification

Posted whenever the NSView’s bounds rectangle changes to a new value independently of the frame rectangle, but only when the view’s postsBoundsChangedNotifications property is YES.

NSViewFrameDidChangeNotification

Posted whenever the view’s frame rectangle changes to a new value, but only when the view’s postsFrameChangedNotifications property is YES.

NSViewDidUpdateTrackingAreasNotification

Posted whenever an NSView object recalculates its tracking areas.

NSViewGlobalFrameDidChangeNotification

Posted whenever an NSView object that has attached surfaces (that is, NSOpenGLContext objects) moves to a different screen, or other cases where the NSOpenGLContext object needs to be updated.

Deprecated