RxImageView 0.1.8

RxImageView 0.1.8

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Apr 2018
SPMSupports SPM

Maintained by Arnaud Dorgans.



 
Depends on:
SDWebImage~> 4.0
RxSwift~> 4.0
RxCocoa~> 4.0
 

RxImageView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

RxImageView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "RxImageView"

How To Use

let imageView = UIImageView()

_ = Observable.just(URL(string: "https://lorempixel.com/400/200/cats"))
            .bind(to: imageView.rx.imageURL)
            
_ = Observable.just(URL(string: "https://lorempixel.com/400/200/animals"))
            .bind(to: imageView.rx.imageURL(withPlaceholder: #image))

Author

Arnoymous, [email protected]

License

RxImageView is available under the MIT license. See the LICENSE file for more info.