I am using the Charts framework so I can display stats and it takes simple number values, e.g 1, 5, 17, 99, 1,574 etc and plots them on a graph.
It give the choice to set an NSNumberFormatter
to display those value more elegantly.
The numbers I am using are total number of seconds. E.g. 660 seconds, 1080 seconds.
How can I use the NSNumberFormatter
to make my number display as hours, minutes, seconds, instead of purely total seconds?