Introduction to Protos

Protos Can Be Shared between Projects

Another benefit of protos is their reusability in multiple applications. Protos enhance Newton's already fairly quick development cycle. With protos, the second Newton application you write can take advantage of the first one. If you put your particularly nice buttons, snazzy overview entry design, or input lines with a dynamic picker into protos, you will be able to use them in other applications. Protos also provide a way to have consistency of design or behavior across a number of different applications.

To use protos in many applications you just keep them stored in a central library location and add them to each application project as needed.

Unlike system protos, user protos that are reused in multiple applications do not further reduce application size. Each application makes its own copies of its protos at build time. Thus, sharing user protos among applications is not a way to reduce the size of applications. Nevertheless, the other benefits still apply.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996