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

Formatting the Raise Text Field

To display the raises correctly, as percentages, you will use a number formatter. Find the Number Formatter in the object library and drag it onto the second column’s table cell view (Figure 9.14).

Figure 9.14  Add a number formatter

Add a number formatter

Notice the location of the number formatter in the document outline. It will show up nested inside the text field’s cell (Figure 9.15). If you need to select it again, you can do this most easily using the document outline.

Figure 9.15  The number formatter in the document outline

With the number formatter still selected, open the attributes inspector ...

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