O'Reilly logo

Beginning OS X Lion Apps Development by Robert Warner, Michael Privat

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

Chapter 5

User Preferences and the File System

Every time you launch Graphique, it starts over. Any equations you've entered disappear. Any graphs you've created, however clever or stunning, vanish. Graphique has no permanence. This might be fine for utility or one-shot applications, but users expect more out of applications like Graphique. They expect to be able to recall recent work or preserve output. They also expect to be able to set some preferences to customize behavior. In this chapter, we add some permanence to Graphique.

One of the things we do in this chapter is finally use the Fonts and Colors toolbar items to allow users to set the font used to enter equations and the color used to draw the line of the graph. We also implement ...

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