TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | May 2016 |
SPMSupports SPM | ✗ |
Get photo form Unsplash Source with RxSwift
RxUnsplashSource.random(size: UIScreen.mainScreen().bounds.size)
.bindTo(imageView.rx_image)
RxUnsplashSource
.random(
category: .Food,
size: UIScreen.mainScreen().bounds.size
)
.bindTo(imageView.rx_image)
Observable<Int>
.interval(60, scheduler: SerialDispatchQueueScheduler(globalConcurrentQueueQOS: .Default))
.startWith(0)
.flatMap { _ in RxUnsplashSource.random(size: UIScreen.mainScreen().bounds.size) }
.bindTo(imageView.rx_image)
pod "RxUnsplashSource"
muukii, [email protected]
RxUnsplashSource is available under the MIT license. See the LICENSE file for more info.