The Life Cycle of an Application

The Sample Application

We will be adding the sample application shown in FIGURE 1.2. The base view is a plain white slip view that floats above other views; this view also contains two child views. Each child view contains text. The first child view contains a label text string, "Enter Name", and the other contains the text string "Hank".

The left side of FIGURE 1.2 shows the three views (base and two children) as they are displayed upon the Newton. The right side shows the view frames in the NewtonScript heap (sometimes called the frames heap) that underlie what is shown on the Newton.

FIGURE 1.2 : An application and the views that underlie it.


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

Last modified: 1 DEC 1996