Skip to content

Install

Mark R. Masterson edited this page Mar 16, 2019 · 3 revisions

Install

Installing TransloaditKit can be done in two different ways, CocoaPods or manually.

CocoaPods (recommended)

Simply add the following line into your pod file

pod 'Transloadit'

And then run

pod install

This will fully install TransloaditKit and TUSKit dependency

Manual

  1. Download the repo
  2. Download TUSKit
  3. Drag the Transloadit folder into your project
  4. Drag the TUSKit folder into the same directory you dragged Transloadit into.

Setup

To begin using TransloaditKit you will need to add your API keys to the projects plist

{PROJECT_NAME}.plist

<key>TRANSLOADIT_SECRET</key>
<string>SECRET_KEY_HERE</string>
<key>TRANSLOADIT_KEY</key>
<string>API_KEY_HERE</string>

Then simply import Transloadit into your project where needed

Objective-C

import <TransloaditKit/Transloadit.h>

Swift

import Transloadit
Clone this wiki locally