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
2b58afd0
Commit
2b58afd0
authored
Jun 08, 2016
by
Brent Gulanowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #223 from Shopify/task/advance-sample-fix
Update to new API for checkout creation
parents
726b6580
03fc0c2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ProductListViewController.m
...obile Buy SDK Advanced Sample/ProductListViewController.m
+1
-1
No files found.
Mobile Buy SDK Sample Apps/Sample App Advanced/Mobile Buy SDK Advanced Sample/ProductListViewController.m
View file @
2b58afd0
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
BUYCart
*
cart
=
[
self
.
client
.
modelManager
insertCartWithJSONDictionary
:
nil
];
BUYCart
*
cart
=
[
self
.
client
.
modelManager
insertCartWithJSONDictionary
:
nil
];
[
cart
addVariant
:
product
.
variants
.
firstObject
];
[
cart
addVariant
:
product
.
variants
.
firstObject
];
BUYCheckout
*
checkout
=
[[
BUYCheckout
alloc
]
initWith
C
art
:
cart
];
BUYCheckout
*
checkout
=
[[
BUYCheckout
alloc
]
initWith
ModelManager
:
cart
.
modelManager
c
art
:
cart
];
// Apply billing and shipping address, as well as email to the checkout
// Apply billing and shipping address, as well as email to the checkout
checkout
.
shippingAddress
=
[
self
address
];
checkout
.
shippingAddress
=
[
self
address
];
...
...
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