Latest 2.0
Homepage https://github.com/ivanbruel/RxColor
License MIT
Platforms ios 9.0
Dependencies RxSwift, RxCocoa
Authors

Version
License
Platform

RxSwift bindings for common UIColor setters.
UIView (backgroundColor), UILabel (textColor) and UIButton (titleColor and tintColor+titleColor).

Usage

Theming.sharedInstance.accentColor
      .bindTo(commentsButton.rx_color)
      .addDisposableTo(disposeBag)
Theming.sharedInstance.accentColor
      .bindTo(label.rx_textColor)
      .addDisposableTo(disposeBag)
Theming.sharedInstance.backgroundColor
      .bindTo(label.rx_backgroundColor)
      .addDisposableTo(disposeBag)

Installation

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

pod "RxColor"

License

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

Latest podspec

{
    "name": "RxColor",
    "version": "2.0",
    "summary": "RxSwift bindings for common UIColor setters",
    "description": "RxSwift bindings for common UIColor setters.nUIView (backgroundColor, tintColor), UILabel (textColor) and UIButton (titleColor)",
    "homepage": "https://github.com/ivanbruel/RxColor",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ivan Bruel": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ivanbruel/RxColor.git",
        "tag": "2.0"
    },
    "social_media_url": "https://twitter.com/ivanbruel",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "RxColor/Classes/**/*",
    "dependencies": {
        "RxSwift": [
            "~> 3.6"
        ],
        "RxCocoa": [
            "~> 3.6"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This