O'Reilly logo

Cocoa Programming for OS X: The Big Nerd Ranch Guide by Aaron Hillegass, Adam Preble, Nate Chandler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Challenge: NerdSplitViewController

Test your skills further by creating your own split view controller. Use an ordinary NSView and not NSSplitView – you will do the view arranging yourself in the view controller. Keep it simple for now: assume there will only be two child view controllers and always vertically or horizontally split. As NSSplitViewController does, create a pane for each child view controller. Use Auto Layout to set the width of the panes to be equal. Do not worry about the draggable divider for now.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required