- Inside Macintosh: Programmer's Guide to MacApp / Part 2 - Working With MacApp
Chapter 26 -
Working With Dependencies
This chapter includes recipes and sample code that demonstrate how to
- use dependencies and behaviors to synchronize two control view objects
- use dependencies to ensure that multiple views are updated when a document's underlying data changes (an outline)
MacApp's dependency mechanism is described in detail in Chapter 3, "Core Technologies."
Chapter Contents
- Overview
-
- Changes and Updates
-
- Recipes--Dependencies
-
- Recipe--Using Dependencies and Behaviors to Synchronize Control Views
-
- Define a View Hierarchy That Contains the Two Views
-
- Define a Change-Behavior Class
-
- Define an Update-Behavior Class
-
- Set Up the Views, Dependents, and Behaviors
-
- Using Dependencies to Update a Document's Views-- An Outline
-
- Conclusion
-
© Apple Computer, Inc.
25 JUL 1996