visibilityPriority(for:)
Returns the visibility priority for a specified view in the stack view.
Declaration
func visibilityPriority(for view: NSView) -> NSStackView.VisibilityPriorityParameters
- view:
The view that you are getting the visibility priority for.
Return Value
The visibility priority for the specified view.
Discussion
Visibility priority is the Auto Layout priority for a view to remain attached to a stack view when Auto Layout reduces the stack view’s size (such as when a user reduces the enclosing window’s size).