• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Simple Cocoa bindings question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Simple Cocoa bindings question


  • Subject: Simple Cocoa bindings question
  • From: "M. Carlson" <email@hidden>
  • Date: Fri, 22 Apr 2005 18:12:04 +0000

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


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Simple Cocoa bindings question
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: Custom NSMenu help
  • Next by Date: Java vs. Objective-C for Cocoa
  • Previous by thread: Re: How to setup "FileOwner" in IB
  • Next by thread: Re: Simple Cocoa bindings question
  • Index(es):
    • Date
    • Thread