Commit 4517b2b0 by Brent Gulanowski

Remove unused method.

parent b4b56c80
......@@ -29,15 +29,6 @@
@interface NSDecimalNumber (BUYAdditions)
/**
* Converts a string into an NSDecimalNumber or zero (if nil or not a number)
*
* @param string The string to convert
*
* @return NSDecimalNumber from a string
*/
+ (NSDecimalNumber*)buy_decimalNumberOrZeroWithString:(NSString*)string;
/**
* Converts a JSON value to an NSDecimalNumber
*
* @param valueFromJSON The value to convert
......
......@@ -32,11 +32,6 @@
@implementation NSDecimalNumber (BUYAdditions)
+ (NSDecimalNumber*)buy_decimalNumberOrZeroWithString:(NSString*)string
{
return string.length ? string.decimalNumber : [NSDecimalNumber zero];
}
+ (NSDecimalNumber*)buy_decimalNumberFromJSON:(id)valueFromJSON
{
static NSDecimalNumberHandler *numberHandler;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment