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: Pontus Ilbring <email@hidden>
- Date: Sat, 30 Jul 2005 02:04:09 +0200
On 7/30/05, Edward Hillenbrand <email@hidden> 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.
Are you using the accessor methods to change the model? The bindings
won't notice changes if you do foo = bar instead of [self setFoo:bar]
_______________________________________________
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