
Declaring Views
Sibling Messages and Declaring
Declaring a template to an ancestor makes it available not only to the ancestor, but to any other descendants of that ancestor (via parent inheritance). This is the way for siblings to send messages to each other. Here is a general rule for declaring:
- If one view wants to send a message to a second view, the second view should be declared in some ancestor common to both.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996