Using NSViewController for managing views

Last Revision:
Version 1.2, 2014-04-24
Upgraded for OS X 10.9
(Full Revision History)
Build Requirements:
Xcode 5.1, OS X 10.9
Runtime Requirements:
OS X 10.7 or later

"ViewController" is a Cocoa application that demonstrates how to use the NSViewController class. The NSViewController class serves roughly the same purpose of NSWindowController, but for NSView instead of NSWindow. It does the same sort of memory management of top-level objects that NSWindowController does. The sample demonstrates how to load and unload four different view controllers that contain: NSImageView, NSTableView, AVPlayerLayer and QCView.