number formatter
number formatter
- Subject: number formatter
- From: "J.E. Schotsman" <email@hidden>
- Date: Wed, 24 May 2017 17:30:06 +0200
Hello
I have written the simplest of formatters:
class MyIntNumberFormatter:NumberFormatter
{
override init()
{
super.init()
hasThousandSeparators = false
}
required init?( coder aDecoder:NSCoder )
{
super.init( coder: aDecoder )
}
}
I can set it as formatter for a text field in code and it works but I cannot set it in the xib.
When I control-drag the only option I get is to set it as the delegate.
What am I missing here?
TIA,
Jan E.
_______________________________________________
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