• 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
Re: Debugging Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging Bindings


  • Subject: Re: Debugging Bindings
  • From: mmalcolm crawford <email@hidden>
  • Date: Mon, 31 Jan 2005 19:20:52 -0800


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: This email sent to email@hidden
References: 
 >Debugging Bindings (From: Richard Patterson <email@hidden>)

  • Prev by Date: Debugging Bindings
  • Next by Date: Re: unicode problem
  • Previous by thread: Debugging Bindings
  • Next by thread: commitEditing not committing edits
  • Index(es):
    • Date
    • Thread