Skip to content
Rx Wrapper for rechsteiner/Parchment
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.
RxParchment.xcodeproj
RxParchment.xcworkspace
RxParchment
RxParchmentSample
RxParchmentTests
TestPod
.gitignore
Cartfile
Cartfile.resolved
LICENSE
Podfile
README.md
RxParchment.podspec

README.md

RxParchmentDataSources

A reactive wrapper built around rechsteiner/Parchment

Installation

CocoaPods

To integrate RxParchmentDataSources into your Xcode project using CocoaPods, specify it in your Podfile:

pod 'RxParchment'

Then, run the following command:

$ pod install

Carthage

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

github "Pubbus/RxParchmentDataSources"

Usage

Working with RxParchmentDataSources will be very simple:

let items = Observable.of(["Item1","Item2","Item3"])

items.bind(to: pagingViewController.rx.items) { (pagingViewController: PagingViewController<PagingIndexItem>, index: Int, element: String) -> (controller: UIViewController, title: String) in
   return (controller: ItemViewController(item: element), title: element)
}.disposed(by: disposeBag)
You can’t perform that action at this time.