SwiftyUnsplashKit
Lightweight Swift kit used to present Unsplash search view and select image along with its url. Adheres to Unsplash API guidelines of using hot-linked image urls and crediting author during image selection (similar to Trello). See Unsplash API documentation for more details.
Getting Started
Prerequisites
- Must use Swift 4.2+
- Requires Unsplash API access token which requires a developer account.
Installation
CocoaPods
To integrate SwiftyUnsplashKit into your Xcode project using CocoaPods, specify it in your Podfile
:
pod 'SwiftyUnsplashKit'
Using application
Simply initiate a UnsplashSearchPresenter object , configure the delegate to whichever object will be using the Unsplash image/info, and call UnsplashSearchPresenter.openUnsplashView() to present the Unsplash search/picker view.
Architectural Pattern
Dependencies
- No dependencies although may use Kingfisher in future for local persistence.
Authors
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details