MVVM + RxSwift + CTMediator + MJRefresh + DZNEmptyDataSet

WhaleFull




?. MVVM + RxSwift + CTMediatror + MJRefresh + DZNEmptyDataSet

English | 简体中文

This is a set of infrastructure based on MVVM + RxSwift

Resources

  • Resource module, which mainly deals with image resource and text resource reading.
    • Read image resource: R.image("base_black_back")
    • Read text resource: R.text("base_empty_title")

Adapter

  • This module is mainly to encapsulate the base class.

  • CocoaPods Install ==> pod 'WhaleFull/Adapter'

CTMediatror

  • This module mainly solves the cocoapods problem encountered by Swift using this componentized solution.

  • CocoaPods Install ==> pod 'WhaleFull/CTMediatror'

HBDNavigationBar

  • This module is based on HBDNavigationBar secondary encapsulation of the underlying basic Navigation.

  • CocoaPods Install ==> pod 'WhaleFull/HBDNavigationBar'

MJRefresh

  • This module is based on the refresh function of MJRefresh encapsulated UITableView.

  • CocoaPods Install ==> pod 'WhaleFull/MJRefresh'

DZNEmptyDataSet

  • This module is based on the empty data display function of the EmptyDataSet-Swift package UITableView.

  • CocoaPods Install ==> pod 'WhaleFull/DZNEmptyDataSet'

Remarks

The general process is almost like this, the Demo is also written in great detail, you can check it out for yourself.?

WhaleFullDemo

Tip: If you find it helpful, please help me with a star. If you have any questions or needs, you can also issue.

Thanks.?

About the author


License

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


简体中文

基于 MVVM + RxSwift 搭建响应式数据绑定基础架构

Resources

  • 资源模块,主要处理图片资源和文本资源读取
    • 读取图片资源:R.image("base_black_back")
    • 读取文本资源:R.text("base_empty_title")

Adapter

CTMediatror

  • 该模块主要解决Swift采用该组件化方案遇见的cocoapods问题

HBDNavigationBar

  • 该模块是基于HBDNavigationBar二次封装底层基础Navigation

MJRefresh

  • 该模块是基于MJRefresh封装UITableView的刷新功能

DZNEmptyDataSet

  • 该模块是基于EmptyDataSet-Swift封装UITableView的空数据展示功能

CocoaPods Install

Ex: 导入项目响应式基类模块
- pod 'WhaleFull/Adapter'

Ex: 导入组件化模块
- pod 'WhaleFull/CTMediatror'

Ex: 导入导航栏基础模块
- pod 'WhaleFull/HBDNavigationBar'

Ex: 导入自动刷新模块
- pod 'WhaleFull/MJRefresh'

Ex: 导入空数据自动展示模块
- pod 'WhaleFull/DZNEmptyDataSet'


觉得有帮助的老哥们,请帮忙点个星 ⭐..

救救孩子吧,谢谢各位老板。

?


GitHub

View Github