swiftArch 1.2.8

swiftArch 1.2.8

Maintained by manondidi.



 
Depends on:
Closures= 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

  • By
  • 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支持
  • ​ 详细例子

Screenshot

image

image

image

image

image

image

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

swiftArch is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'swiftArch'

Author

czq, [email protected]

License

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