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

Re: number formatter


  • Subject: Re: number formatter
  • From: Richard Charles <email@hidden>
  • Date: Wed, 24 May 2017 11:53:08 -0600

> On May 24, 2017, at 11:08 AM, J.E. Schotsman <email@hidden> wrote:
>
>> On 24 May 2017, at 18:51, Richard Charles <email@hidden> wrote:
>>
>> In other words the nib or xib should already contain the formatter, if not then create one. Connect the formatter to your control as you normally would. Then set the class of the formatter to your custom class.
>
> Indeed, this works.
> First I set the class to NSNumberFormatter, then connected it, and finally changed to class to my custom class.

Actually the order does not matter. You should be able to make the connection before or after you change the formatter class to your custom class.

> Not very discoverable!

At first glance Interface Builder looks simple but it is huge, there is a lot going on. Simple things can be simple, complex things are 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

  • Follow-Ups:
    • Re: number formatter
      • From: "J.E. Schotsman" <email@hidden>
References: 
 >number formatter (From: "J.E. Schotsman" <email@hidden>)
 >Re: number formatter (From: Richard Charles <email@hidden>)
 >Re: number formatter (From: "J.E. Schotsman" <email@hidden>)

  • Prev by Date: Re: Customizing UIPageViewController during init
  • Next by Date: Re: number formatter
  • Previous by thread: Re: number formatter
  • Next by thread: Re: number formatter
  • Index(es):
    • Date
    • Thread