Bindings doesn't update model object.
Bindings doesn't update model object.
- Subject: Bindings doesn't update model object.
- From: Ron Ballesteros <email@hidden>
- Date: Tue, 18 May 2004 21:23:42 -0700
I have a document based application where I have an NSObjectController
that controls the data that is shown in the document window. My
bindings are working fine in regards of loading the default values from
the model. The problem that I'm having is that when a user enters data
in the text fields, non of the model object is getting updated.
As far as I can understand based on Apple's documentation, the model
gets updated through KVC. In IB under the Bindings->Value of the
NSTextField, I enabled 'Continously Updates Value' in order to update
the model. My model is KVC compliant as far as I know in that my models
implement the <key> and set<Key>: pair. such as empID: and setEmpID: .
Is there something else that I'm missing here to get my views update my
model object?
Thanks.
~r
_______________________________________________
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.