On Tue, 17 Jan 2012 16:57:18 +0100, Vincent Habchi said:

>I’m trying to display decimal angles in DMS format (e.g. : 10,5 -> 10°
>30'). Apparently, NSNumberFormatter does not know about angles. Has
>anybody heard of a third party NSFormatter class (NSAngleFormatter?) or
>do I have to develop a custom formatter from scratch?
>
>If nothing exists, I will also file an upgrade request for 10.8.

NSNumberFormatter does not support that.  But writing such a custom formatter 
would be a few dozen line of code, and pretty straightforward.

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada
_______________________________________________

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