Instance Method

visibilityPriorityForView:

Returns the visibility priority for a specified view in the stack view.

Declaration

- (NSStackViewVisibilityPriority)visibilityPriorityForView:(NSView *)view;

Parameters

aView

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).

See Also

Configuring Views in a Stack View

- customSpacingAfterView:

Returns the custom spacing, in points, between a specified view in the stack view and the view that follows it.

- setCustomSpacing:afterView:

Specifies custom spacing, in points, to employ between a specified view and the view that follows it in the stack view.

- setVisibilityPriority:forView:

Sets the Auto Layout priority for a view to remain attached to the stack view when Auto Layout reduces the stack view’s size.