RxTapAction 0.1.1

RxTapAction 0.1.1

[Meng Li] 维护。



 
依赖
RxSwift~> 5
RxCocoa~> 5
RxGesture~> 3
 

  • lm2343635

RxTapAction

CI Status Version License Platform

RxTapAction 为添加点击操作手势到 UIView 或 UICollectionView 提供了反应式扩展。

文档

RxTapAction 通过 CocoaPods 提供。要安装它,只需将以下行添加到 Podfile 文件中

pod 'RxTapAction'

为 UICollectionViewCell 添加点击事件。

collectionView.rx.highlightAction(.darken).disposed(by: disposeBag)

示例

要运行示例项目,首先克隆仓库,然后在 Example 目录下运行 pod install

许可

RxTapAction 在 MIT 许可下提供。有关更多信息,请参阅 LICENSE 文件。