NSTextField Custom Input
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