Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Bindings help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings help needed



hi all, I'm rather new to this so forgive me if i'm being stupid.
 
I'm confused as to how I should be using bindings to get things to and from my tasks UI. This is what i'm currently doing.
 
To bind to a Text control:
1) I create a property in my ini file called "fileName"
2) In Interface builder I add an action called "fileName" to my Parameters controller
3) In the actual GUI I bind the controls' value to "Parameters -> selection -> fileName and check the "continously check/update value" (or whatever) checkbox.
4) In my code I can then just pick the string out of my Paramters dictionary with a call to objectForKey and it will have set in it what ever was entered into the GUI.
 
This appears to work ok, but is it the "correct" way of doing things? (Can I update the text controls value using #4??)
 
Also using the above method, I cannot get the AMPathPopUpButton control to work (i bind to its Path property instead of value) what do I need to get that to work?
 
TIA
 
bg
 
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.