Latest 1.0.0
Homepage https://github.com/manondidi/swiftArch
License MIT
Platforms ios 9.0
Dependencies Closures, HandyJSON, SnapKit, MJRefresh, RxAlamofire, RxSwift, RxCocoa, Toast-Swift, Kingfisher, CocoaLumberjack/Swift, UICollectionViewLeftAlignedLayout
Authors

CI Status
Version
License
Platform

Todo

UI组件

​ 列表:

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

网络库

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

业务层

  • [x] ​ mock管理

页面

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

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.

Latest podspec

{
    "name": "swiftArch",
    "version": "1.0.0",
    "summary": "swiftu5f00u53d1u811au624bu67b6",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/manondidi/swiftArch",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "czq": "[email protected]"
    },
    "source": {
        "git": "https://github.com/manondidi/swiftArch.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "swiftArch/Classes/**/**/*",
    "dependencies": {
        "Closures": [
            "~> 0.5"
        ],
        "HandyJSON": [
            "~> 4.2.0"
        ],
        "SnapKit": [
            "~> 4.0.0"
        ],
        "MJRefresh": [],
        "RxAlamofire": [
            "~>4.3.0"
        ],
        "RxSwift": [
            "~> 4.0"
        ],
        "RxCocoa": [
            "~> 4.0"
        ],
        "Toast-Swift": [
            "~> 4.0.0"
        ],
        "Kingfisher": [
            "~>4.8.0"
        ],
        "CocoaLumberjack/Swift": [],
        "UICollectionViewLeftAlignedLayout": []
    },
    "swift_version": "4.2",
    "resources": [
        "swiftArch/Assets/*.xib"
    ],
    "resource_bundles": {
        "swiftArch": [
            "swiftArch/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This