International formatting for directional angles?
I'd like to present my users with开发者_开发技巧 an angles 20° and possibly a compass heading such as N or NW. Is there an internationalized number formatter in the iOS that handles angles? I've looked into NSNumberFormatter, but it seems to be oriented toward currencies and thousands separators.
Does anyone know where I can find a library that has them? I'd rather not have to do them all by hand.
Well if you download the cocos2d framework, that has angles that you can use http://www.cocos2d-iphone.org/
精彩评论