Skip to content

29satnam/ImgurUpload-Swift3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Imgur Upload Using Swift 3

##Usage:

  1. Import Alamofire and SwiftJSON

  2. Drag ImgurUpload.swift to your project.

  3. This is how you can simply upload an Image to Imagur

     uploadToImgur(image: imagee.image!) { (success, url) in
         if success {
             let stringUrl = "\(url)"
             let index = stringUrl.index(stringUrl.startIndex, offsetBy: 19)
             print(stringUrl.substring(from: index))
             
         }
     }
    

About

[email protected] - Imgur Image Upload using Swift 3 email

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages