• 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: change in model not reflected in interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change in model not reflected in interface


  • Subject: Re: change in model not reflected in interface
  • From: Scott Quiring <email@hidden>
  • Date: Fri, 29 Jul 2005 18:12:39 -0600

You need to post objectDidBeginEditing: and objectDidEndEditing: (see NSController docs for more) to the object controller.
Do this from the model setFoo: methods.


On 29-Jul-05, at 5:57 PM, Edward Hillenbrand wrote:

I made a model and an interface and setup bindings, it works fine when I make a change through the UI, but if I make a change programatically to one of the model properties the change is not reflected in the interface. How do I get it to work both ways?

I'm new to bindings and there is probably an obvious answer to this, but I'm stuck anyway. I did find a topic called "Troubleshooting Cocoa Bindings" in the documentation, but it only has an answer to the question "Changing the value in the user interface programmatically is not reflected in the model" and my question is the opposite of that.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40terrasoftware.com


This email sent to email@hidden




_______________________________________________
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: change in model not reflected in interface
      • From: mmalcolm crawford <email@hidden>
References: 
 >change in model not reflected in interface (From: Edward Hillenbrand <email@hidden>)

  • Prev by Date: moving to bindings
  • Next by Date: Re: change in model not reflected in interface
  • Previous by thread: Re: change in model not reflected in interface
  • Next by thread: Re: change in model not reflected in interface
  • Index(es):
    • Date
    • Thread