NewtonScript, Newton Toolkit, and the Newton

Newton Runtime Views

All of the frames along the spine of the comb are views. These views are created at runtime, and they are the only frames that can be written to at runtime; whenever assignments are made, the relevant slots are created in the views. Views are the receivers of messages and contain both _parent and _proto slots.

The _proto slot of a view always points directly to its template, which was created in NTK (there may be more protos after that in the chain). The _parent slot of a base view points to the root view on the Newton.

FIGURE 4.9 : Views, templates, and protos.


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

Last modified: 1 DEC 1996