NSView
extension NSView: LayoutElementsContainer
extension NSView: LayoutElement
extension NSView: AnchoredLayoutElement
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutElement
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutGuide<CALayer>
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutGuide<NSView>
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : NSLayoutGuide
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : CALayer
-
Undocumented
Declaration
Swift
public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : NSView
-
Bind layout element to layout guide.
Declaration
Swift
func add<T>(layoutGuide: LayoutGuide<T>) where T : NSView
Parameters
layoutGuide
Layout guide for binding
-
Removes layout element from hierarchy
Declaration
Swift
public func removeFromSuperElement()
-
Entity that represents element in layout time
Declaration
Swift
public var inLayoutTime: ElementInLayoutTime { get }
-
Layout element that maintains this layout entity
Declaration
Swift
public weak var superElement: LayoutElement? { get }
-
Internal space for layout subelements
Declaration
Swift
@objc public var layoutBounds: CGRect { get }