Instance Method


Returns whether the specified view is collapsed.


func isSubviewCollapsed(_ subview: NSView) -> Bool



The subview in the split view.

Return Value

true if subview is in a collapsed state, false otherwise.

See Also

Managing Subviews

func adjustSubviews()

Adjusts the sizes of the split view’s subviews so they (plus the dividers) fill the split view.

func holdingPriorityForSubview(at: Int) -> NSLayoutConstraint.Priority

Returns the priority of the subview’s width or height when resizing.

func setHoldingPriority(NSLayoutConstraint.Priority, forSubviewAt: Int)

Sets the priority under which split view subviews maintain their width or height.