Protocol

NSStackViewDelegate

A set of methods you use to respond to a stack view detaching and reattaching views.

Declaration

@protocol NSStackViewDelegate

Overview

Adopt this protocol in a custom object and use it to track the addition and removal of views from the stack view's view hierarchy. For an explanation of detachment and reattachment of a stack view’s views, see NSStackView.

Topics

Responding to View Detachment and Reattachment

- stackView:didReattachViews:

Called when the stack view has automatically reattached one or more previously-detached views.

- stackView:willDetachViews:

Called when the stack view is about to automatically detach one or more of its views.

Relationships

Inherits From

See Also

Responding to Stack-Related Changes

delegate

The delegate object for the stack view.