manual key value binding
manual key value binding
- Subject: manual key value binding
- From: Matthew Johnson <email@hidden>
- Date: Tue, 18 Nov 2003 21:51:19 -0600
If I have two model objects that both implement KVC and KVO properly it
looks like I should be able to expose bindings on one of them and send
it bind:toObject:withKeyPath:options using a key path in the other
object to set up a "lightweight" binding between these model objects.
I definitely don't want or need the overhead of a full controller in
this scenario, just a simple automatic binding. I don't have a
specific scenario for this in mind right now, but I have some general
ideas that seem to be leading in this direction.
My questions are will this work and are there any caveats I should be
aware of? I haven't seen anything of this nature in the documentation
and it seems like this kind of scenario may not have been tested
thoroughly if it is not an expected or recommended use...
Matthew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.