InstaGallery is an easy way to access your Instagram account and get your gallery and get his media in a few steps.
Info.plist
InstagramClientId
and set your Instagram App Id in this keyInstagramRedirectURI
and set with your Instagram App Redirect URIInstagramClientSecret
with the Instagram App Secret.GalleryController
with method InstaGallery.gallery
. If you need retrieve the media selected, do you need set GalleryDelegate
delegate with the optinal parameters delegate
. For examplelet galleryController = InstaGallery.gallery(withDelegate: self)
let navigationController = UINavigationController(rootViewController: galleryController)
present(navigationController, animated: true, completion: nil)
InstaGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'InstaGallery'
Then, run pod install
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
.
dependencies: [
.package(url: "https://github.com/MRodSebastian/InstaGallery.git", .upToNextMajor(from: "0.4.0"))
]
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)link |
Stars: 8 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics