The frame rectangle, which describes the view’s location and size in the coordinate system of the view’s superview.
SDKs
- macOS 10.15+
- Xcode 11.0+
Framework
- Reality
Kit
Declaration
@objc override dynamic var frame: NSRect { get set }
The frame rectangle, which describes the view’s location and size in the coordinate system of the view’s superview.
SDKs
Framework
@objc override dynamic var frame: NSRect { get set }
var content Scale Factor: CGFloat
The scale factor of the content in the view.
func did Move To Superview()
Tells the view that its superview changed.
func did Move To Window()
Tells the view that its window property is set to a new value.
func layout Subviews()
Lays out subviews.
class var layer Class: Any Class
The class used to create the layer for view instances.
func make Backing Layer() -> CALayer
Creates the view’s backing layer.
func view Did Change Backing Properties()
Tells the view when its backing store properties change.
func view Did Move To Superview()
Tells the view that it has a new superview or that the view’s superview has been removed.