Exercises

  1. We never saved the Formula cell. Try adding it to the Preferences panel and saving it.

  2. Instead of saving them in the Preferences panel, arrange for the GraphPaper application to automatically remember the values for xmin, xmax, ymin, ymax, and xstep as they are entered on the GraphPaper main window. What are the advantages and disadvantages of this approach over using the Preferences panel?

  3. Further modify the Preferences implementation so that the color preference is set when a new color is dragged in. Does this make the system easier or harder to use?

  4. Should there even be a Preferences panel? Implement the application without it. Discuss the advantages and disadvantages of having a Preferences panel.

Get Building Cocoa Applications: A Step by Step Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.