Demo App - bonkey/zalando-commerce-ios GitHub Wiki
ZalandoCommerceDemoApp is example app, which is used for running all the tests, therefore it's the best resource for any code verification or checks.
You will get a good overview how the ZalandoCommerceUI framework is configured and used, and it is always up to date code.
https://github.com/bonkey/zalando-commerce-ios/blob/master/wiki/integration/demo-app.png
The app uses 2 schemes:
ZalandoCommerceDemoApp - Mock API– which starts and connects to local mock serverZalandoCommerceDemoApp - Real API– which connects to real API, in staging/sandbox mode by default, but could be changed inAppSetup.swiftor in profile pane inside the app
Installation
CocoaPods
The easiest way to test it is to use CocoaPods pod try command:
pod try ZalandoCommerceUI
To check latest HEAD branch you can use:
pod try https://github.com/bonkey/zalando-commerce-ios.git --podspec_name=ZalandoCommerceUI
Manual
git clone --depth 1 --single-branch \
https://github.com/bonkey/zalando-commerce-ios.git \
zalando-commerce-ios-demo && cd $_
open Sources/ZalandoCommerceSDK.xcworkspace