Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
4517b2b0
Commit
4517b2b0
authored
Apr 25, 2016
by
Brent Gulanowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused method.
parent
b4b56c80
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
NSDecimalNumber+BUYAdditions.h
...K/Mobile Buy SDK/Additions/NSDecimalNumber+BUYAdditions.h
+0
-9
NSDecimalNumber+BUYAdditions.m
...K/Mobile Buy SDK/Additions/NSDecimalNumber+BUYAdditions.m
+0
-5
No files found.
Mobile Buy SDK/Mobile Buy SDK/Additions/NSDecimalNumber+BUYAdditions.h
View file @
4517b2b0
...
@@ -29,15 +29,6 @@
...
@@ -29,15 +29,6 @@
@interface
NSDecimalNumber
(
BUYAdditions
)
@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
* Converts a JSON value to an NSDecimalNumber
*
*
* @param valueFromJSON The value to convert
* @param valueFromJSON The value to convert
...
...
Mobile Buy SDK/Mobile Buy SDK/Additions/NSDecimalNumber+BUYAdditions.m
View file @
4517b2b0
...
@@ -32,11 +32,6 @@
...
@@ -32,11 +32,6 @@
@implementation
NSDecimalNumber
(
BUYAdditions
)
@implementation
NSDecimalNumber
(
BUYAdditions
)
+
(
NSDecimalNumber
*
)
buy_decimalNumberOrZeroWithString
:(
NSString
*
)
string
{
return
string
.
length
?
string
.
decimalNumber
:
[
NSDecimalNumber
zero
];
}
+
(
NSDecimalNumber
*
)
buy_decimalNumberFromJSON
:(
id
)
valueFromJSON
+
(
NSDecimalNumber
*
)
buy_decimalNumberFromJSON
:(
id
)
valueFromJSON
{
{
static
NSDecimalNumberHandler
*
numberHandler
;
static
NSDecimalNumberHandler
*
numberHandler
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment