TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Feb 2016 |
Maintained by Mattias Eriksson.
Easy to use and understand pod for storing, formatting and converting units of different measurements.
pod 'Unitility'
pod 'Unitility/Swift'
pod 'Unitility/ObjC'
import Unitility
let m = Meter(5.2)
let f = m.convertToFoot()
print(f.formatted()) // 17.06 ft
#import <Unitility/Length.h>
Meter *m = [Meter value:5.2f];
Foot *f = [m convertToFoot];
NSLog(@"%@", [f formatted]); // 17.06 ft