Code Monkey home page Code Monkey logo

swiftarch's Introduction

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.

swiftarch's People

Contributors

manondidi avatar flypigrmvb avatar astao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.