• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings doesn't update model object.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Bindings doesn't update model object.
      • From: Scott Anguish <email@hidden>
  • Prev by Date: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
  • Next by Date: Re: Bindings doesn't update model object.
  • Previous by thread: Re: [firstPath appendBezierPath: [secondPath bezierPathByReversingPath]];
  • Next by thread: Re: Bindings doesn't update model object.
  • Index(es):
    • Date
    • Thread