Instance Property

contentView

The scroll view’s content view, the view that clips the document view.

Declaration

@property(strong) NSClipView *contentView;

Discussion

Setting the value of this property to an NSClipView that has a document view also sets the scroll view’s document view to be the document view of that NSClipView. The original content view retains its document view.

See Also

Managing the Views

documentView

The view the scroll view scrolls within its content view.

- addFloatingSubview:forAxis:

Adds a floating subview to the document view.