Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSViewMBS class.

NSViewMBS.NSViewBoundsDidChangeNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
One of the notification names to use with the NSView class.

Posted whenever the NSView's bounds rectangle changes independently of the frame rectangle, if the NSView is configured using setPostsBoundsChangedNotifications to post such notifications.

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

The following methods can result in notification posting

  • setBounds
  • setBoundsOrigin
  • setBoundsRotation
  • setBoundsSize
  • translateOriginToPoint
  • scaleUnitSquareToSize
  • rotateByAngle

Note that the bounds rectangle resizes automatically to track the frame rectangle. Because the primary change is that of the frame rectangle, however, setFrame and setFrameSize don't result in a bounds-changed notification.

NSViewMBS.NSViewDidUpdateTrackingAreasNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
One of the notification names to use with the NSView class.

Posted whenever an NSView object recalculates its tracking areas. It is sent after the view receives updateTrackingAreas.

Available in Mac OS X v10.5 and later.

NSViewMBS.NSViewFocusDidChangeNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
One of the notification names to use with the NSView class.

Sent when focus changed. Object for this notification is the view.

NSViewMBS.NSViewFrameDidChangeNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
One of the notification names to use with the NSView class.

Posted whenever the view's frame rectangle changes, if the view is configured using setPostsFrameChangedNotifications to post such notifications.

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:

  • setFrame
  • setFrameOrigin
  • setFrameRotation
  • setFrameSize

NSViewMBS.NSViewGlobalFrameDidChangeNotification as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa MBS MacBase Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
One of the notification names to use with the NSView class.

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. The notification object is the surface's view. This notification does not contain a userInfo dictionary.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...