Skip to content

Instantly share code, notes, and snippets.

@kjartanvest
Created April 3, 2017 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kjartanvest/68882eee07e516a81f498b523963db27 to your computer and use it in GitHub Desktop.
Save kjartanvest/68882eee07e516a81f498b523963db27 to your computer and use it in GitHub Desktop.
client?.createVideoAndGetParams(success: { jsonResponse in
// Set the returned upload params dictionary for the video
video.uploadParameters = jsonResponse as! Dictionary<String, String>
}, httpFailureBlock: { task, error in
// Video create error
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment