On Dec 13, 2008, at 1:40 AM, Bridger Maxwell wrote:

Woops, I posted some wrong code which might confuse the issue. This is the
real code that binds the view to the dictionary, but only sends
notifications from the view to the dictionary (and not the other way
around).
[databaseClient bind:@"database.selectedShortRangeContact"
toObject:sineWaveView withKeyPath:@"connectedContact" options:nil];

Well, that sort of explains why the one-way-ness that you were seeing was in the opposite direction of what I would expect.

However, that bind:... invocation is all wrong. The one in your original message makes more sense. You typically bind a view to a controller, not the other way around.

I would expect the above to cause errors due to the fact that the binding named is in the form of a key path, when it should be a binding name (which may be a property name).

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

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