MoyaMapper:快速解析模型工具,支持RxSwift。同时支持缓存功能【相关手册https:MoyaMapper.github.io】

时间:2021-02-03 20:59:21
【文件属性】:
文件名称:MoyaMapper:快速解析模型工具,支持RxSwift。同时支持缓存功能【相关手册https:MoyaMapper.github.io】
文件大小:265KB
文件格式:ZIP
更新时间:2021-02-03 20:59:21
swift ios json rxswift model MoyaMapper是基于Moya和Swift JSON封装的工具,以Moya的插件的方式来实现间接解析,支持RxSwift :open_book:详细的使用请查看手册 特征 支持json转Model自动映射与自定义映射 无视json中值的类型, Model中属性声明的是什么类型,它就是什么类型 支持json字符串转Model 支持定义默认值策略,解析策略 插件方式,全方位保障Moya.Response ,拒绝各种网络问题导致Response为nil 可选-支持数据随意缓存( JSON , Number , String , Bool , Moya.Response ) 可选-支持网络请求缓存 用法 映射
【文件预览】:
MoyaMapper-master
----.gitignore(800B)
----Screenshots()
--------MoyaMapper.png(27KB)
--------M2.png(10KB)
--------JSON数据对照-模型嵌套.png(59KB)
--------JSON数据对照-单层模型.png(78KB)
----Example()
--------Utils()
--------Controllers()
--------Info.plist(1KB)
--------Sections()
--------Other()
--------Models()
----MoyaMapper()
--------Assets()
--------Classes()
--------Supporting Files()
----.travis.yml(376B)
----fastlane()
--------Fastfile(1KB)
--------README.md(716B)
--------actions()
----LICENSE(1KB)
----README.md(13KB)
----Cartfile.resolved(304B)
----Cartfile(219B)
----MoyaMapper.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(86KB)
----README_old.md(7KB)
----Tests()
--------Tests.swift(747B)
--------Info.plist(733B)
----Podfile(304B)
----MoyaMapper.podspec(1KB)

网友评论