FROM : M. Carlson
DATE : Fri Apr 22 20:12:04 2005
The "Currency Converter" tutorial using Cocoa bindings is fine, as far as it
goes. I thought I would extend the program to be able to convert both ways:
not just from dollars to "other", but also from "other" back to dollars
(depending on which field the user changes), akin to the way the Java web
sites do it.
Here's the problem: Because the "Amount in Other Currency" text field is
already bound to the Model Key Path of "amountInOtherCurrency", it doesn't
look possible to also bind it to a new method, named "otherToConvert", to
cause the dollar amount to be recalculated?
Is there a way to do this?
-- M
DATE : Fri Apr 22 20:12:04 2005
The "Currency Converter" tutorial using Cocoa bindings is fine, as far as it
goes. I thought I would extend the program to be able to convert both ways:
not just from dollars to "other", but also from "other" back to dollars
(depending on which field the user changes), akin to the way the Java web
sites do it.
Here's the problem: Because the "Amount in Other Currency" text field is
already bound to the Model Key Path of "amountInOtherCurrency", it doesn't
look possible to also bind it to a new method, named "otherToConvert", to
cause the dollar amount to be recalculated?
Is there a way to do this?
-- M
| Related mails | Author | Date |
|---|---|---|
| M. Carlson | Apr 22, 20:12 | |
| Daniel Jalkut | Apr 22, 20:59 |






Cocoa mail archive

