The NSTextFindBarContainer protocol provides a container in which the find bar is displayed.


In order to display the find bar, a container for the find bar must be specified. You specify a find bar container using the findBarContainer of the NSTextFinder class.

See NSTextFinder for more information.


Find Bar View

var findBarView: NSView?

The view assigned by the text bar as the find bar view for the container.

func contentView()

A view hierarchy that contains all the views which display the contents being searched.

var isFindBarVisible: Bool

Returns whether the container should display its find bar.

Find Bar Height

func findBarViewDidChangeHeight()

Notifies the find bar container that the find bar has changed its height.


Inherits From

Adopted By