Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Demo App

Daniel Bauke edited this page Feb 14, 2024 · 3 revisions

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.

The app uses 2 schemes:

  1. ZalandoCommerceDemoApp - Mock API – which starts and connects to local mock server
  2. ZalandoCommerceDemoApp - Real API – which connects to real API, in staging/sandbox mode by default, but could be changed in AppSetup.swift or 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

Integrate

Quick start

full flow in Demo App

Advanced usage

Contribute

Clone this wiki locally