The main content view controller for the window.
- macOS 10.10+
The value of this property provides the content view of the window. Setting this value removes the existing value of
content and makes the
content the main content view for the window. By default, the value of this property is
The content view controller controls only the
content object, and not the title of the window. The window title can easily be bound to the
content object using code such as:
[window bind:. Setting
content causes the window to resize based on the current size of the
content; to restrict the size of the window, use Auto Layout (note that the value of this property is encoded in the NIB). Directly assigning a
content value clears out the root view controller.