swiftArch 1.2.8

swiftArch 1.2.8

manondidi 维护。



 
依赖项
闭包= 0.6
HandyJSON= 5.0.0-beta.1
SnapKit~> 4.0.0
MJRefresh>= 0
RxAlamofire~> 5.0.0
RxSwift~> 5.0.0
RxCocoa~> 5.0.0
Toast-Swift~> 5.0.0
Kingfisher~> 4.8.0
CocoaLumberjack/Swift>= 0
UICollectionViewLeftAlignedLayout>= 0
 

swiftArch 1.2.8

  • czq

swiftArch

首先这套东西是有一定门槛的,但是只要你用上手了,真的可以快速开发业务,减少非常多的代码量

CI Status Version License Platform

提供了脚手架的模板,直接一键生成对应代码 https://github.com/manondidi/swiftArchTemplate

https://github.com/manondidi/swiftArchCodeTemplate

Todo

UI 组件

  列表

  •   默认状态视图
  •   可定制状态视图
  •   上下拉(可定制)
  •   tableView(cell解耦)
  •   collectionView(cell解耦)

网络库

  •   rxAlamofire
  •   自动解析模型<传入泛型>
  •   参数封装
  •   url管理
  •   网络日志
  •   上传(使用alamofire自带,已经很棒了)
  •   下载(使用alamofire自带,已经很棒了)
  •   cookie(使用alamofire自带,已经很棒了)

业务层

  •   mock管理

页面

  •   页面状态视图展示和个性化定制
  •   分页计算策略模式
  •   列表model解耦
  •   section支持
  •   详细例子

截图

image

image

image

image

image

image

示例

要运行示例项目,请先克隆仓库,然后从示例文件夹运行 pod install

需求

安装

swiftArch可通过CocoaPods获取。要安装它,只需将以下行添加到您的Podfile中

pod 'swiftArch'

作者

czq,[email protected]

许可证

swiftArch在MIT许可证下可用。有关更多信息,请参阅LICENSE文件。