TestsTested | ✓ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Sep 2015 |
Maintained by Elvis Nuñez, Christoffer Winterkvist.
Creating and running string-based formulas have never been this easy
NSDictionary *values = @{
@"hourly_pay" : @150,
@"work_per_week" : @32.5
};
NSNumber *result = [@"hourly_pay * work_per_week" hyp_runFormulaWithDictionary:values];
// result: 4875
NSDictionary *values = @{
@"first_name" : @"John",
@"last_name" : @"Appleseed"
};
NSString *result = [@"first_name last_name" hyp_runFormulaWithDictionary:values];
// result: "John Appleseed"
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Hyper made this. We're a digital communications agency with a passion for good code, and if you're using this library we probably want to hire you.
NSString-HYPFormula is available under the MIT license. See the LICENSE file for more info.