Add a Tab View Controller
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() ...
Get Cocoa Programming for OS X: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.