Programmatic Binding KVC KVO
Programmatic Binding KVC KVO
- Subject: Programmatic Binding KVC KVO
- From: Richard Somers <email@hidden>
- Date: Wed, 4 Nov 2009 07:04:51 -0700
I have a managed object context with two attached NSObjectControllers
in entity mode. Both controllers control the same entity.
managed object model
nib 1
controller
user interface
bind in interface builder
nib 2
controller
user interface (custom view)
bind in code programmatically
Nib 1 works. Entity changes produce by the user interface show up in
the managed object model and in the custom view found in nib 2.
Nib 2 only partly works. Changes made in the custom view do not show
up in the managed object model or in the user interface found in nib 1.
When establishing a binding programmatically do you also need to setup
key value observing? I thought a binding was bi-directional and
included both key value coding and observing.
Richard
_______________________________________________
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