You'll need to install Cocoapods first.
Grab the source code, and then update the dependencies.
$ git clone email@example.com:Kickflip/kickflip-ios-example.git $ cd kickflip-ios-example $ git submodule update --init $ pod install
If you would like to make modifications to the core SDK, you can integrate the SDK as a submodule as well (check the
Podfile for more info).
As with all projects that depend on Cocoapods, make sure to open the
Kickflip.xcworkspace file, not the .xcodeproj file.
You'll need to sign up, make a new app, and then put your API keys from and put them in a file called
KFSecrets.h with the following contents:
#define KICKFLIP_API_KEY @"Client ID from kickflip.io" #define KICKFLIP_API_SECRET @"Client Secret from kickflip.io"