BE9572AC1AE592E70024968A/* Mobile Buy SDK Web Sample.entitlements */={isa=PBXFileReference;lastKnownFileType=text.xml;path="Mobile Buy SDK Web Sample.entitlements";sourceTree="<group>";};
BEDC7A271AE03BA800C4B4FE/* Mobile Buy SDK Web Sample.app */={isa=PBXFileReference;explicitFileType=wrapper.application;includeInIndex=0;path="Mobile Buy SDK Web Sample.app";sourceTree=BUILT_PRODUCTS_DIR;};
BEDC7A351AE03BA800C4B4FE/* Base */={isa=PBXFileReference;lastKnownFileType=file.storyboard;name=Base;path=Base.lproj/Main.storyboard;sourceTree="<group>";};
<labelopaque="NO"clipsSubviews="YES"userInteractionEnabled="NO"contentMode="left"horizontalHuggingPriority="251"verticalHuggingPriority="251"text=" Copyright (c) 2015 Shopify. All rights reserved."textAlignment="center"lineBreakMode="tailTruncation"baselineAdjustment="alignBaselines"minimumFontSize="9"translatesAutoresizingMaskIntoConstraints="NO"id="8ie-xW-0ye">
<labelopaque="NO"clipsSubviews="YES"userInteractionEnabled="NO"contentMode="left"horizontalHuggingPriority="251"verticalHuggingPriority="251"text="Mobile Buy SDK Web Sample"textAlignment="center"lineBreakMode="middleTruncation"baselineAdjustment="alignBaselines"minimumFontSize="18"translatesAutoresizingMaskIntoConstraints="NO"id="kId-c2-rCX">
The web sample app demonstrates how you can load your shop's website in a webview, and support Apple Pay.
### Getting started
First, add your shop domain, API key and Channel ID to the `AppDelegate.h` macros.
```objc
#define SHOP_DOMAIN @"<shop_domain>"
#define API_KEY @"<api_key>"
#define CHANNEL_ID @"<channel_id>"
```
To support Apple Pay, add your Merchant ID as well.
```objc
#define MERCHANT_ID @"<merchant_id>"
```
### Overview
The sample app instantiates a view controller which is a subclass of `BUYStoreViewController`. This displays a webview with your shop, but intercepts the checkout to support Apple Pay.
The sample app also demonstrates how to use the `BUYClient` to obtain shop details by calling `getShop:`