Skip to content
A reactive wrapper built around Yalantis/Koloda
Swift Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RxKoloda.xcodeproj
RxKoloda
Sources/DataSources
TestApp
.gitignore
Cartfile
Cartfile.resolved
LICENSE
README.md
RxKoloda.podspec

README.md

RxKoloda

A reactive wrapper built around Yalantis/Koloda

Installation

CocoaPods

  • Creating a pod spec. Not too long.

Carthage

To integrate RxParchmentDataSources into your Xcode project using Carthage, specify it in your Cartfile:

github "Pubbus/RxKoloda"

Usage

Working with RxKoloda datasource will be very simple:

let items = Observable.of([UIImage(named: "A"), UIImage(named: "B"), UIImage(named: "C")])

items.bind(to: kolodaView.rx.items) { (kolodaView: KolodaView, index: Int, image: UIImage?)
        -> (view: UIView, overlay: OverlayView) in
   return (view: UIImageView(image: image), overlay: OverlayView())
}.disposed(by: disposeBag)
You can’t perform that action at this time.