Re: change in model not reflected in interface
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