Re: Bindings doesn't update model object.
Re: Bindings doesn't update model object.
- Subject: Re: Bindings doesn't update model object.
- From: Scott Anguish <email@hidden>
- Date: Wed, 19 May 2004 01:20:32 -0400
On May 19, 2004, at 12:23 AM, Ron Ballesteros wrote:
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: .
you're definitely using an object controller to bind to, rather than
directly to the model?
what type of control is it.. if you can send me (off list - or put it
someplace I can download it) the cleaned code, I'll have a look
Is there something else that I'm missing here to get my views update my
model object?
no, this should work.
_______________________________________________
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.