Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Chapter 26 -
This chapter includes recipes and sample code that demonstrate how to
Working With Dependencies
MacApp's dependency mechanism is described in detail in Chapter 3, "Core Technologies."
- 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)
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
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |