• 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
updating NSTextField with key validation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

updating NSTextField with key validation?


  • Subject: updating NSTextField with key validation?
  • From: David Scheidt <email@hidden>
  • Date: Tue, 14 Apr 2009 11:36:24 -0400

I have a sheet. It's got a number of NSTextFields on it. They're bound to an ObjectController, in entity mode, for the entity that the sheet allows the user to create or edit. I've got validation methods for the values. They work correctly. Except, if I coerce the value to a valid one, the TextField isn't updated until the user changes the focus to a different one, by tabbing or clicking away. That seems wrong. How do I make the text change when I coerce it? _______________________________________________

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: updating NSTextField with key validation?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Best way to pass large objects between tasks?
  • Next by Date: Re: Autosaving the selection in an NSTableView
  • Previous by thread: Re: warning for unsigned parameter, signed argument with NSUInteger
  • Next by thread: Re: updating NSTextField with key validation?
  • Index(es):
    • Date
    • Thread