> On May 24, 2017, at 11:08 AM, J.E. Schotsman <jesc...@xs4all.nl> wrote:
> 
>> On 24 May 2017, at 18:51, Richard Charles <rcharles...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to