bindings and NSNumberFormatter
bindings and NSNumberFormatter
- Subject: bindings and NSNumberFormatter
- From: Jeff Gilbert <email@hidden>
- Date: Wed, 30 Nov 2005 08:25:26 -0600
Hey everybody,
I have an app with an NSTextField bound to a number in my model. The
textfield has an NSNumberFormatter with the format for Zero set to an
empty string. When I run the app, and the bound value is 0, if the
focus leaves the textfield then it shows the grayed-out message "No
Selection" rather than a blank field. If I change the Zero formatter
to anything non-empty (even a single space) then that value shows up
in the field after losing focus. Is this a defect, or is there any
workaround?
thanks,
Jeff Gilbert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden