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

9 NSArrayController

Over the next few chapters, you will create RaiseMan, a full-featured application for keeping track of employees and the raise that each of them will receive this year. As you continue through the book, you will add, among other things, file saving, undo support, and printing capabilities.

RaiseMan will use a table view to display the employees in two columns, one for the employees’ names, the other for their raises. By the end of this chapter the user will be able to add and remove employees, edit their names and raises, and use the table view to sort by name and raise.

First, you will create a class to represent employees. Second, you will lay out the UI. Finally, you will use an NSArrayController and bindings ...

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