Описание тега nsviewcontroller
An Objective-C object that manages a view, typically loaded from a nib file.
The NSViewController object manages a view, typically loaded from a nib file.
This management includes:
- Memory management of top-level objects similar to that of the NSWindowController class, taking the same care to prevent reference cycles when controls are bound to the nib file's owner that NSWindowController began taking in Mac OS v 10.4.
- Declaring a generic representedObject property, to make it easy to establish bindings in the nib to an object that isn't yet known at nib-loading time or readily available to the code that's doing the nib loading.
- Implementing the key-value binding NSEditor informal protocol, so that applications using NSViewController can easily make bound controls in the views commit or discard the changes the user is making.
For more information on the NSViewController object, check Apple's NSViewControllerClass Reference.