• 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: Programmatic binding not working both ways?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Programmatic binding not working both ways? (From: "Doug Knowles" <email@hidden>)

  • Prev by Date: Re: Text with translucent Background
  • Next by Date: Re: core data and IB outlet binding
  • Previous by thread: Programmatic binding not working both ways?
  • Next by thread: Re: NSDictionaryController and inserting new objects.
  • Index(es):
    • Date
    • Thread