Chapter 4

Pimp My UI

At this point in its evolution, Graphique indeed means something. It does something. It's serviceable. It accepts an equation, evaluates it, and lists x, y values. It's also a little embarrassing: it's a graphing calculator that doesn't graph. That flaw is difficult to hide or gloss over. We can't really be proud of Graphique until it graphs equations.

The equation entry field is a little shameful, too, in a Notepad kind of way: monochromatic text, stiff syntax, and anemic validation. Before we can be proud of Graphique, we must provide a better equation editor.

In this chapter, we create graphs, and we improve the equation editor. By the time we're done, the UI for Graphique will look like Figure 4–1.

Figure 4–1. ...

Get Beginning OS X Lion Apps Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.