Instance Property

viewController

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

Declaration

@property(readwrite, strong) __kindof NSViewController *viewController;

Discussion

When set, the item's view property returns the view controller's view property.

The property is automatically set to nil if you provide your own value for the view property.

See Also

Providing Item Content

view

The view displayed in the bar to represent this item.