Set a new key with name InstagramClientId and set your Instagram App Id in this key
Set a new key with name InstagramRedirectURI and set with your Instagram App Redirect URI
Set one more key with name InstagramClientSecret with the Instagram App Secret.
Init GalleryController with method InstaGallery.gallery. If you need retrieve the media selected, do you need set GalleryDelegate delegate with the optinal parameters delegate. For example
let galleryController = InstaGallery.gallery(withDelegate: self)
let navigationController = UINavigationController(rootViewController: galleryController)
present(navigationController, animated: true, completion: nil)
Enjoy! 🎉
CocoaPod
InstaGallery is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'InstaGallery'
Then, run pod install
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the dependencies value of your Package.swift.
InstaGallery
InstaGallery is an easy way to access your Instagram account and get your gallery and get his media in a few steps.
How to use
Info.plistInstagramClientIdand set your Instagram App Id in this keyInstagramRedirectURIand set with your Instagram App Redirect URIInstagramClientSecretwith the Instagram App Secret.GalleryControllerwith methodInstaGallery.gallery. If you need retrieve the media selected, do you need setGalleryDelegatedelegate with the optinal parametersdelegate. For exampleCocoaPod
InstaGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:
Then, run
pod installSwift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
swiftcompiler.Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the
dependenciesvalue of yourPackage.swift.Contribute
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Who made this?