
The Composition of Stationery
The viewDef
The viewDef is a template responsible for displaying and editing the data of this type. One dataDef can have many different viewDefs associated with it. Imagine a dataDef for checks from a checkbook. There are a number of different ways to view a check:
- On-screen--looking similar to a printed check.
- Printed--using preprinted check paper.
- On-screen--looking like a check register entry.
- On-screen--looking similar to a printed check, but read-only.
While each of these views of the check would be a separate viewDef, they would each reference the same dataDef.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996