Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: change in model not reflected in interface



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >change in model not reflected in interface (From: Edward Hillenbrand <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.