Type Property

frameDidChangeNotification

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

Declaration

class let frameDidChangeNotification: NSNotification.Name

Discussion

The notification object is the NSView object whose frame rectangle has changed. This notification does not contain a userInfo dictionary.

The following methods can result in notification posting:

See Also

Notifications

class let boundsDidChangeNotification: NSNotification.Name

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 true.

class let didUpdateTrackingAreasNotification: NSNotification.Name

Posted whenever an NSView object recalculates its tracking areas.

class let globalFrameDidChangeNotification: NSNotification.Name

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