Skip to content

ivanbruel/RxColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RxColor

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.

About

RxSwift bindings for common UIColor setters

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors