DEV Community

Condy
Condy

Posted on

MVVM Project Infrastructure

๐Ÿ‘Œ. MVVM + RxSwift + CTMediatror + MJRefresh + DZNEmptyDataSet + SkeletonView

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 'Rickenbacker/Adapter'

CTMediatror

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

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

HBDNavigationBar

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

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

MJRefresh

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

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

DZNEmptyDataSet

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

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

Remarks

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

RickenbackerDemo

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

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


Top comments (0)