Database Reference
In-Depth Information
Figure 24—Remember to turn off the Rich Text setting.
• In the Content Values section, we bind to the type NSArrayController with a
Controller Key setting of arrangedObjects. We also want to set the Model
Key Path setting to name. This step instructs the pop-up to access the
name property for its display value.
• In the Selected Object section, we bind to the recipe's NSArrayController and
use a Controller Key setting of selection. Further, we want to set the
Model Key Path setting to type. This instructs the pop-up to do several
things. First, it checks the selected recipe for its type relationship and
displays the value associated. Second, it updates the selected recipe when
a user selects a different value in the Type pop-up list. And finally, it
monitors the recipe NSArrayController and updates itself if the user selects a
different recipe.
Once we have the Type pop-up box set, we need to configure the Author pop-up
box. The setup here is identical to that for the Type pop-up box, except the
 
 
 
Search WWH ::




Custom Search