This project provides an example iOS application using the Satispay InStore framework to interact with the Satispay in store API.
More information about the API can be retrived in their documentation.
- iOS 8.0+ or macOS 10.10+
- Swift 3.2/4.0
Clone the repo:
git clone https://github.com/satispay/in-store-api-swift-sdk
From the repo root init submodules:
git submodule update --init --recursive
Open SatispayInStore.xcodeproj
and compile.
Add the following line to your Cartfile:
github "Satispay/in-store-api-swift-sdk"
Add the following lines to your Podfile:
pod 'SatispayInStore'
SatispayInStore can also be used just by coping source files from the SatispayInStore framework target into your Xcode project.
SatispayInStore supports the following environments:
- Production (default)
- Staging
- Test
To select a different environment, in your app delegate:
SatispayInStoreConfig.environment = StagingEnvironment()