Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Bindings




On Jan 31, 2005, at 7:06 PM, Richard Patterson wrote:

I added two NSForm's to my interface and tried to get the values I entered in one to trigger calculations for the values displayed in the other. I tried to do everything exactly the way the Currency Converter Bindings Tutorial does. The only difference is I have two NSForm's instead of just text fields. The content of each form is an instance variable in an object and I set the path to the variable using object.variable syntax.

It doesn't work and I don't know what to stare at to try to figure out what I did wrong. How am I supposed to debug bindings?

Is it not possible to use forms for an object and bind each field to an instance variable of the object.

Forms should work in the same way as text fields. What happens if you replace the forms with text fields? Are the objects you're trying to display NSStrings and/or NSNumbers?


mmalc


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Debugging Bindings (From: Richard Patterson <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.