A minimal functioning iOS starter app to copy and modify, that demonstrates log-in to an OBP server and a first API call using OBPKit. See OBPKit for full usage guidance, and HelloOBP-iOS for more example usage, and the API Explorer at the OBP server you are using.
-
Clone this repo
-
Break the link by running
git remote remove origin
(replace with your own remote). -
Get third party libraries
- If you are happy using Carthage (install), the project is ready, and you just need to run
carthage update --platform iOS --no-build --no-use-binaries
. - If you prefer to use CocoaPods (install), checkout the
use_cocoapods
branch of this repo, updatemaster
and complete the install as follows$ git checkout use_cocoapods $ git branch -f master use_cocoapods $ git checkout master $ pod install
- If you are happy using Carthage (install), the project is ready, and you just need to run
-
Replace the credentials in
AppDelegate.swift
with those you obtain from the Get API Key link at the OBP server you are using.