beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 6

background image

vi

Changes to Existing Functions and Methods

3-31

New Warning Messages

3-32

Obsolete Functions and Methods

3-32

Using Views

3-32

Getting References to Views

3-32

Displaying, Hiding, and Redrawing Views

3-33

Dynamically Adding Views

3-33

Showing a Hidden View

3-34

Adding to the stepChildren Array

3-34

Using the AddStepView Function

3-35

Using the BuildContext Function

3-36

Creating Templates

3-36

Making a Picker View

3-37

Changing the Values in viewFormat

3-37

Determining Which View Item Is Selected

3-37

Complex View Effects

3-38

Making Modal Views

3-38

Finding the Bounds of Views

3-39

Animating Views

3-40

Dragging a View

3-40

Dragging and Dropping with Views

3-40

Scrolling View Contents

3-41

Redirecting Scrolling Messages

3-42

Working With View Highlighting

3-42

Creating View Dependencies

3-43

View Synchronization

3-43

Laying Out Multiple Child Views

3-43

Optimizing View Performance

3-44

Using Drawing Functions

3-44

View Fill

3-44

Redrawing Views

3-44

Memory Usage

3-45

Scrolling

3-46

Summary of Views 3-47

Constants 3-47
Functions and Methods 3-51