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
385e0e6c
Commit
385e0e6c
authored
May 24, 2016
by
Gabriel O'Flaherty-Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use BUYAssert instead of NSParameterAssert
parent
18f1514d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
BUYApplePayAuthorizationDelegate.m
...K/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
+4
-3
No files found.
Mobile Buy SDK/Mobile Buy SDK/Utils/BUYApplePayAuthorizationDelegate.m
View file @
385e0e6c
...
...
@@ -27,6 +27,7 @@
#import "BUYApplePayAuthorizationDelegate.h"
#import "BUYApplePayAdditions.h"
#import "BUYApplePayToken.h"
#import "BUYAssert.h"
#import "BUYClient+Checkout.h"
#import "BUYClient+Storefront.h"
#import "BUYCheckout.h"
...
...
@@ -48,9 +49,9 @@ const NSTimeInterval PollDelay = 0.5;
-
(
instancetype
)
initWithClient
:(
BUYClient
*
)
client
checkout
:(
BUYCheckout
*
)
checkout
shopName
:(
NSString
*
)
shopName
{
NSParameterAssert
(
client
);
NSParameterAssert
(
checkout
);
NSParameterAssert
(
shopName
);
BUYAssert
(
client
,
@"Failed to initialize BUYApplePayAuthorizationDelegate. Client must not be nil."
);
BUYAssert
(
checkout
,
@"Failed to initialize BUYApplePayAuthorizationDelegate. Checkout must not be nil."
);
BUYAssert
(
shopName
,
@"Failed to initialize BUYApplePayAuthorizationDelegate. Shop name must not be nil."
);
self
=
[
super
init
];
...
...
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