đ. 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")
- Read image resource:
Adapter
-
This module is mainly to encapsulate the base class.
- BaseViewController: Support oc base class, public part.
- VMTableViewController: List base class, internally responsive processing.
-
VMViewController: When inheriting this base class, you need to specify
ViewModel
or its subclasses as generics. - ViewModel: Basic view model.
-
TableViewModel: Mainly used for
VMTableViewController
data-driven binding model.
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.đˇ
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
- đˇ E-mail address: yangkj310@gmail.com đˇ
- đ¸ GitHub address: yangKJ đ¸
License
Rickenbacker is available under the MIT license. See the LICENSE file for more info.
Top comments (0)