On 8-Oct-08, at 8:46 PM, Tim Isted wrote:

Did you setup the bindings using Interface Builder or programatically? If programatically, they work in only one direction so you need to call

[object1 bind:@"value" toObject:object2 withKeyPath:@"whateverPathForKeyIs" options:nil]; and [object2 bind:@"value" toObject:object1 withKeyPath:@"whateverPathForKeyIs" options:nil];

Otherwise, make sure you're content object is KVC/KVO compliant etc.

This isn't correct.

Setting bindings up manually vs IB is the same.

The message flow discussion in the Cocoa Bindings doc illustrates how the data flows in both directions.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to