Instance Property


The size of the content view.


var contentSize: CGSize { get set }


Use this property to explicitly set the size of the content view. If frame is explicitly set, it takes precedence over contentSize.

See Also

Setting View Size

var contentViewInsets: NSDirectionalEdgeInsets

The spacing between the content view and its sibling and parent views.

var focusSizeIncrease: NSDirectionalEdgeInsets

The inset or outset values specifying your content's size increase when in focus.