Latest 1.0.4
Homepage https://github.com/2NU71AN9/SLNetworkingHandler
License MIT
Platforms ios 9.0, requires ARC
Dependencies SVProgressHUD, RxSwift, RxCocoa, RxDataSources, SwiftyJSON, Moya/RxSwift, HandyJSON
Authors

封装Moya+RxSwift+HandyJSON网络请求框架

pod 'SLNetworkingHandler'
SLNetworkingHandler
.request(.loadCarBrand)
.mapModels(Model.self) #转换数据模型,可不加
.mapSectionModel("", type: Model.self) #转成DataSource,可不加
.subscribe(onNext: { (model) in

}, onError: { (error) in

})
.disposed(by: bag)

Latest podspec

{
    "name": "SLNetworkingHandler",
    "version": "1.0.4",
    "swift_version": "4.1",
    "summary": "u7f51u7edcu8bf7u6c42",
    "description": "u5c01u88c5Moya+RxSwift+HandyJSONu7f51u7edcu8bf7u6c42u6846u67b6",
    "homepage": "https://github.com/2NU71AN9/SLNetworkingHandler",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "u5b59u6881": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/2NU71AN9/SLNetworkingHandler.git",
        "tag": "v1.0.4"
    },
    "source_files": "SLNetworkingHandler/Networking/*.{h,m,swift}",
    "resources": "SLNetworkingHandler/Networking/*.bundle",
    "requires_arc": true,
    "dependencies": {
        "SVProgressHUD": [],
        "RxSwift": [],
        "RxCocoa": [],
        "RxDataSources": [],
        "SwiftyJSON": [],
        "Moya/RxSwift": [],
        "HandyJSON": []
    }
}

Pin It on Pinterest

Share This