Binding not updating
Binding not updating
- Subject: Binding not updating
- From: "Marcus S. Zarra" <email@hidden>
- Date: Fri, 15 Jul 2005 23:39:57 -0600
I am running into an odd issue with a combination of Cocoa bindings
and a ManagedObject.
I have an object, Object A which has a to-one relationship with Object
B. I have a reference to Object A in my controller class. I defined
an ObjectController in IB that references Object B via Object A in the
controller class. I have several NSTextFields that are linked to this
NSObjectController and when I first pull up the window it displays
correctly.
However, when I change the relationship in Object A to point to a
different instance of Object B via the setValue:forKey method the text
fields do not get updated in the GUI. If I close the window and
reload it then it displays the updated data just fine.
Is there something I am missing that turns on the auto update? It is
my understanding from my reading that the update would be automatic
and that this is what the bindings are for?
Any assistance would be greatly appreciated.
Marcus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden