Skip to content
Mark R. Masterson edited this page Mar 16, 2019 · 2 revisions

Initialize

Initialize your Transloadit object. It may be best to define this globally to avoid having to define multiple instances.

Objective-C

Transloadit *transloadit = [[Transloadit alloc] init];

Swift

let transloadit: Transloadit = Transloadit()

Delegate

Transloadit communicates back via the TransloaditDelegate, so be sure to set the delegate of your Transloadit object

Objective-C

[transloadit setDelegate:self];

Swift

transloadit.delegate = self
Clone this wiki locally