HHUnitConverter
HHUnitConverter copied to clipboard
Unit conversion library for Objective-C
Instruments is reporting a memory leak in _conversionRulesFromUnit:toUnit: in HHUnitConverter.m here: ``` objective-c NSMutableArray *rules = [NSMutableArray new]; ``` The leak goes away when I change that line to: ```...
I have the following code in an iOS template Single View Application: ``` HHUnitConverter *converter = [[HHUnitConverter alloc] init]; // Time [converter letUnit:@"min" convertToUnit:@"sec" byMultiplyingBy:60]; [converter letUnit:@"hr" convertToUnit:@"min" byMultiplyingBy:60]; [converter...
Is it possible to go from N (newtons) which is kg_m/s^2 to something like lb_ft/min^2
Hello, The CocoaPods people changed the HHUnitConverter.podspec file in their Specs repository https://github.com/CocoaPods/Specs/commit/1b75f162d6c71aa0d9cd36deae21d7242754a0c9 Maybe because the block parameter for subspec was named `sp`, but inside the block `s` was used...