• 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
NSTextField Custom Input
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField Custom Input


  • Subject: NSTextField Custom Input
  • From: Richard Charles <email@hidden>
  • Date: Thu, 31 Mar 2016 17:43:41 -0600

I have a NSTextField bound to a model property. The text field uses a custom formatter.

When the user pastes 10.34235 into the text field the formatter will display the number with two decimal places as 10.34 and set the model property to 10.34.

But this is not the behavior I want.

When the user pastes 10.34235 into the text field, I would like the model property set to 10.34235 not 10.34.

Does anyone know if this is possible?

--Richard Charles


_______________________________________________

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


  • Prev by Date: Re: Strange Delay
  • Previous by thread: Re: Right click context menu
  • Index(es):
    • Date
    • Thread