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
417aa701
Commit
417aa701
authored
8 years ago
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename BUYAggregateOperation -> BUYGroupOperation
parent
243cc5cf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
project.pbxproj
Mobile Buy SDK/Mobile Buy SDK.xcodeproj/project.pbxproj
+0
-0
BUYCheckoutOperation.h
... Buy SDK/Mobile Buy SDK/Operations/BUYCheckoutOperation.h
+2
-2
BUYGroupOperation.h
Mobile Buy SDK/Mobile Buy SDK/Operations/BUYGroupOperation.h
+3
-3
BUYGroupOperation.m
Mobile Buy SDK/Mobile Buy SDK/Operations/BUYGroupOperation.m
+5
-5
BUYStatusOperation.h
...le Buy SDK/Mobile Buy SDK/Operations/BUYStatusOperation.h
+2
-2
No files found.
Mobile Buy SDK/Mobile Buy SDK.xcodeproj/project.pbxproj
View file @
417aa701
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Operations/BUYCheckoutOperation.h
View file @
417aa701
...
...
@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import <Buy/BUY
Aggregate
Operation.h>
#import <Buy/BUY
Group
Operation.h>
#import <Buy/BUYStatusOperation.h>
NS_ASSUME_NONNULL_BEGIN
...
...
@@ -33,7 +33,7 @@ NS_ASSUME_NONNULL_BEGIN
@protocol
BUYPaymentToken
;
@interface
BUYCheckoutOperation
:
BUY
Aggregate
Operation
@interface
BUYCheckoutOperation
:
BUY
Group
Operation
+
(
instancetype
)
operationWithClient
:(
BUYClient
*
)
client
checkoutToken
:(
NSString
*
)
checkoutToken
token
:(
id
<
BUYPaymentToken
>
)
token
completion
:(
BUYCheckoutOperationCompletion
)
completion
;
-
(
instancetype
)
initWithClient
:(
BUYClient
*
)
client
checkoutToken
:(
NSString
*
)
checkoutToken
token
:(
id
<
BUYPaymentToken
>
)
token
completion
:(
BUYCheckoutOperationCompletion
)
completion
;
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Operations/BUY
Aggregate
Operation.h
→
Mobile Buy SDK/Mobile Buy SDK/Operations/BUY
Group
Operation.h
View file @
417aa701
//
// BUY
Aggregate
Operation.h
// BUY
Group
Operation.h
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -26,11 +26,11 @@
#import "BUYOperation.h"
@interface
BUY
Aggregate
Operation
:
BUYOperation
@interface
BUY
Group
Operation
:
BUYOperation
@property
(
strong
,
atomic
)
NSArray
<
NSOperation
*>
*
operations
;
+
(
instancetype
)
aggregate
OperationWithRequestQueue
:(
NSOperationQueue
*
)
queue
operations
:(
NSArray
<
NSOperation
*>
*
)
operations
;
+
(
instancetype
)
group
OperationWithRequestQueue
:(
NSOperationQueue
*
)
queue
operations
:(
NSArray
<
NSOperation
*>
*
)
operations
;
-
(
instancetype
)
initWithRequestQueue
:(
NSOperationQueue
*
)
queue
operations
:(
NSArray
<
NSOperation
*>
*
)
operations
;
-
(
void
)
finishWithObject
:(
id
)
object
;
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Operations/BUY
Aggregate
Operation.m
→
Mobile Buy SDK/Mobile Buy SDK/Operations/BUY
Group
Operation.m
View file @
417aa701
//
// BUY
Aggregate
Operation.m
// BUY
Group
Operation.m
// Mobile Buy SDK
//
// Created by Shopify.
...
...
@@ -24,19 +24,19 @@
// THE SOFTWARE.
//
#import "BUY
Aggregate
Operation.h"
#import "BUY
Group
Operation.h"
@interface
BUY
Aggregate
Operation
()
@interface
BUY
Group
Operation
()
@property
(
weak
,
nonatomic
)
NSOperationQueue
*
queue
;
@end
@implementation
BUY
Aggregate
Operation
@implementation
BUY
Group
Operation
#pragma mark - Init -
+
(
instancetype
)
aggregate
OperationWithRequestQueue
:(
NSOperationQueue
*
)
queue
operations
:(
NSArray
<
NSOperation
*>
*
)
operations
+
(
instancetype
)
group
OperationWithRequestQueue
:(
NSOperationQueue
*
)
queue
operations
:(
NSArray
<
NSOperation
*>
*
)
operations
{
return
[[[
self
class
]
alloc
]
initWithRequestQueue
:
queue
operations
:
operations
];
}
...
...
This diff is collapsed.
Click to expand it.
Mobile Buy SDK/Mobile Buy SDK/Operations/BUYStatusOperation.h
View file @
417aa701
...
...
@@ -24,7 +24,7 @@
// THE SOFTWARE.
//
#import "BUY
Aggregate
Operation.h"
#import "BUY
Group
Operation.h"
NS_ASSUME_NONNULL_BEGIN
@class
BUYCheckout
;
...
...
@@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
typedef
void
(
^
BUYCheckoutOperationCompletion
)(
BUYCheckout
*
_Nullable
checkout
,
NSError
*
_Nullable
error
);
@interface
BUYStatusOperation
:
BUY
Aggregate
Operation
@interface
BUYStatusOperation
:
BUY
Group
Operation
+
(
instancetype
)
operationWithClient
:(
BUYClient
*
)
client
checkoutToken
:(
NSString
*
)
checkoutToken
completion
:(
BUYCheckoutOperationCompletion
)
completion
;
-
(
instancetype
)
initWithClient
:(
BUYClient
*
)
client
checkoutToken
:(
NSString
*
)
checkoutToken
completion
:(
BUYCheckoutOperationCompletion
)
completion
;
...
...
This diff is collapsed.
Click to expand it.
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