👌. MVVM + RxSwift + CTMediatror + MJRefresh + DZNEmptyDataSet + SkeletonView
English | 简体中文
This is a set of infrastructure based on MVVM + RxSwift
At the moment, the most important features of Rickenbacker can be summarized as follows:
This module is mainly to encapsulate the base class.
- BaseViewController: Support oc base class, public part.
- VMTableViewController: List base class, internally responsive processing.
- VMViewController: You need to specify
ViewModel
or its subclasses as generics. - ViewModel: Basic view model, Subclasses must inherit.
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")
- Read color resource:
R.color("background")
Mainly collect RxSwift related useful method classes, etc.
This module mainly solves the cocoapods problem encountered by Swift using this componentized solution.
This module is based on HBDNavigationBar secondary encapsulation of the underlying basic Navigation.
This module is based on the refresh function of MJRefresh encapsulated UITableView.
This module is based on the empty data display function of the EmptyDataSet-Swift package UITableView.
- If you want use this framework.☠️
pod 'Rickenbacker'
The general process is almost like this, the Demo is also written in great detail, you can check it out for yourself.🎷
Tip: If you find it helpful, please help me with a star. If you have any questions or needs, you can also issue.
Thanks.🎇
- 🎷 E-mail address: yangkj310@gmail.com 🎷
- 🎸 GitHub address: yangKJ 🎸
Rickenbacker is available under the MIT license. See the LICENSE file for more info.