Re: Programmatic binding not working both ways?
Re: Programmatic binding not working both ways?
- Subject: Re: Programmatic binding not working both ways?
- From: Keary Suska <email@hidden>
- Date: Wed, 09 Apr 2008 09:37:30 -0600
- Thread-topic: Programmatic binding not working both ways?
on 4/8/08 9:16 PM, email@hidden purportedly said:
> I'm using bind:toObject:withKeyPath:options: to programmatically set up
> bindings from a set of proxy objects (the receiver) to various properties on
> a model object, and while changes to the model properties are properly being
> reflected in the proxies, changes to the proxy properties are not being
> propagated back to the model as I expect.
IIRC, bindings are only one-way. The two-way behavior you have seen is a
function of NSObjectController and its subclasses. Your proxy objects will
have to somehow communicate their changes to the model manually or using
KVO.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden