April 2015
Intermediate to advanced
556 pages
17h 47m
English
Now you will adjust the ViewControl application to display not one but two ImageViewController instances, contained within an NSTabViewController (Figure 30.6).
Figure 30.6 Object diagram for the ViewControl application with the NSTabViewController
In AppDelegate.swift, create the second image view controller as well as the tab view controller:
func applicationDidFinishLaunching(aNotification: NSNotification) {
let flowViewController = ImageViewController()
flowViewController.title = "Flow"
flowViewController.image = NSImage(named: NSImageNameFlowViewTemplate)
let columnViewController = ImageViewController() ...Read now
Unlock full access