RxSwiftCommunity/RxSwiftUtilities

Name: RxSwiftUtilities

Owner: RxSwift Community

Description: Helpful classes and extensions for RxSwift

Created: 2016-11-22 16:58:20.0

Updated: 2018-05-16 01:41:09.0

Pushed: 2018-05-15 12:16:54.0

Homepage: null

Size: 61

Language: Swift

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RxSwiftUtilities

CocoaPods Compatible Carthage Compatible Platform Build Status codecov

About

Helpful classes and extensions for RxSwift which don't belong in RxSwift core.

Usage

Check out the Documentation, the examples below, or the Example App.

ActivityIndicator
signingIn = ActivityIndicator()

signedIn = loginButtonTap.withLatestFrom(usernameAndPassword)
.flatMapLatest { (username, password) in
    return API.signup(username, password: password)
        .trackActivity(signingIn)
}


ingIn.asDriver()
.drive(UIApplication.shared.rx.isNetworkActivityIndicatorVisible)
.disposed(by: disposeBag)
Example App

This repo contains an Example App with interactive examples.

To use the Example App:

xampleApp
install

Open the project located in ExampleApp/ with Xcode and build/run it.

Requirements
Installation
CocoaPods

Tested with pod --version: 1.1.1

In your Podfile:

frameworks!

et "YOUR_TARGET_NAME" do
d "RxSwiftUtilities"

Replace YOUR_TARGET_NAME and then, in the same directory, run:

install
Carthage

Tested with carthage version: 0.18

Add this to Cartfile

ub "RxSwiftCommunity/RxSwiftUtilities"

In the same directory, run:

hage update

Link/Embed frameworks as explained here. Besides linking RxSwiftUtilities, you will also need to link RxSwift and RxCocoa.

Contributing

Help is always appreciated!

clone git@github.com:RxSwiftCommunity/RxSwiftUtilities.git
xSwiftUtilities

Or use your own forked repo.

hage bootstrap

This is necessary in order to be able to build the framework on its own and run tests. However, if you prefer, you can instead develop it while it's within another project.

Before submitting a PR, please make sure that the tests pass.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.