Using NSViewController for managing views
Last Revision: | |
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.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-04-24