CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

SLNetworkingHandler 1.0.4

SLNetworkingHandler 1.0.4

Maintained by 2UN7.



 
Depends on:
SVProgressHUD>= 0
RxSwift>= 0
RxCocoa>= 0
RxDataSources>= 0
SwiftyJSON>= 0
Moya/RxSwift>= 0
HandyJSON>= 0
 

  • By
  • 孙梁

SLNetworkingHandler

封装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)