To run the example project, clone the repo, and run pod install
from the Example directory first.
- File > Swift Packages > Add Package Dependency
- Add
https://github.com/MengLiMing/EasyKits.git
- Select "Branch" with "master"
EasyKits is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'EasyKits'
如果你不想整体使用,选择想要添加的功能添加进你的Podfile:
pod 'EasyKits/EasySegmentedView'
pod 'EasyKits/EasyPagingContainerView'
pod 'EasyKits/EasyPopup'
pod 'EasyKits/EasyResponder'
/// 下方数据驱动列表可二选一
pod 'EasyKits/EasyListView' // 基于UITableView封装
pod 'EasyKits/EasyIGListKit' // 基于IGListKit + RxSwift 封装
pod 'EasyKits/EasySyncScroll'
pod 'EasyKits/EasyCarouseView'
pod 'EasyKits/EasyExtension'
pod 'EasyKits/EasyRxExtension'
pod 'EasyKits/EasyMediator'
- EasyListView: 复杂列表的简单实现,可用于快速构建电商类首页、商品详情、朋友圈等复杂列表 - 可以使用EasyIGListKit替换
- EasyIGListKit:对IGList+RxSwift的封装,使用更简单,适用于MVVM,降低IGListKit学习成本
- EasyResponder:简单的事件传递策略,方便图层嵌套多层时的事件传递
- EasyPopup: 协议实现简单弹窗
- EasySyncScroll:快速实现UIScrollView嵌套,实现类似简书个人信息页面效果,低耦合 易使用
- EasyCarouseView:轮播视图,支持横竖两个方向、自定义视图
- EasySegmentedView:分类导航栏实现,可自定义任何样式的导航栏效果(指示器和Item均可自定义)
- EasyPagingContainerView:横向滑动切换实现,支持最大显示个数
- EasyMediator:路由
EasySyncScroll | EasyCarouseView |
---|---|
![]() |
![]() |
EasyListView | EasySegmentedView |
![]() |
![]() |
Nest | SyncNest |
![]() |
![]() |
EasyListView+EasySegmentedView+EasyPagingContainerView |
---|
![]() |
EasyListView+EasySegmentedView+EasyCarouseView |
![]() |
MengLiMing, 13014795306@163.com
EasyKits is available under the MIT license. See the LICENSE file for more info.