Mike,

> The best you can hope for there is either:
> 
> A) Subclass NSNumberFormatter. Use IB to set an existing number formatter to 
> use your subclass
> 
> B) Subclass NSFormatter directly. Drag a plain NSObject into the xib from the 
> library. Set it to be your subclass. Hook up the formatter outlet of a text 
> field or similar, to it.

I won’t dare (A), because it seems quite complex (I can’t figure out a way to 
output ° ’ ” instead of , or ., for example).

I always overlook the (B) solution, which seems to be less involved.

Thanks so much, cheers!
Vincent

_______________________________________________

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

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

Reply via email to