• 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
Force bindings to sync
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Force bindings to sync


  • Subject: Force bindings to sync
  • From: Sidney San Martín <email@hidden>
  • Date: Wed, 25 Mar 2009 17:07:47 -0400

I'm trying out Cocoa bindings in my application, mostly on NSTextFields, and am running into a small glitch.

While my object is updated just fine when a field loses focus, nothing happens when the window is closed or a button is clicked: the last- edited field is always out of sync. How can I force the focused element to "commit" its changes?
_______________________________________________


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


  • Follow-Ups:
    • Re: Force bindings to sync
      • From: "email@hidden" <email@hidden>
    • Re: Force bindings to sync
      • From: Jim Correia <email@hidden>
    • Re: Force bindings to sync
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: RE: Implementing a many-to-many ("reflexive") relationship using bindings and an NSTableView
  • Next by Date: Safari 4-like popup menu
  • Previous by thread: NSTreeController with useLazyEvaluation failure
  • Next by thread: Re: Force bindings to sync
  • Index(es):
    • Date
    • Thread