# RxSwiftPractice **Repository Path**: DioSpace/RxSwiftPractice ## Basic Information - **Project Name**: RxSwiftPractice - **Description**: 学习RxSwift后的练习项目,会写多少个暂时未定。 - **Primary Language**: Swift - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RxSwiftPractice 学习RxSwift后的练习项目,会写多少个暂时未定。 使用的版本为: ``` pod 'RxSwift', '~> 4.0.0' pod 'RxCocoa', '~> 4.0.0' ``` ## 项目1:TapCounter 计算点击次数。 学习如何订阅按钮点击事件,以及数据和界面绑定,当数据改变,界面跟着改变。 ![image](https://github.com/flywo/RxSwiftPractice/blob/master/01TapCounter/TapCounter.gif) ## 项目2:ImageGR 拖动图片。 学习如何订阅手势事件。 ![image](https://github.com/flywo/RxSwiftPractice/blob/master/02ImageGR/02.gif) ## 项目3:Time 显示系统时间。 学习订阅事件,以及如何将界面属性与数据进行绑定的操作。 ![image](https://github.com/flywo/RxSwiftPractice/blob/master/03TimeChoice/03.gif) ## 项目4:ImageChoice 选择图片。 学习如何通过RxSwift在两个VC之间传值以及数据与界面绑定。 ![image](https://github.com/flywo/RxSwiftPractice/blob/master/04ImageChoice/04.gif) ## 项目5:Calculate 计算结果。 学习如何订阅UITextField,UISlider事件与属性。 ![image](https://github.com/flywo/RxSwiftPractice/blob/master/05Calculate/05.gif)