• 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
number formatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: number formatter
      • From: Richard Charles <email@hidden>
  • Prev by Date: Customizing UIPageViewController during init
  • Next by Date: Auto Layout Question
  • Previous by thread: Re: Customizing UIPageViewController during init
  • Next by thread: Re: number formatter
  • Index(es):
    • Date
    • Thread