Instance Property

view

The view displayed in the bar to represent this item.

Declaration

var view: NSView { get set }

Discussion

By default, this property returns the value of view property from the view controller assigned to the viewController property.

If you set the value of this property, then the viewController property is automatically set to nil.

See Also

Providing Item Content

var viewController: NSViewController?

A view controller whose view is displayed in the bar to represent this item.