AlamofireObjectMapper:Alamofire扩展,可使用ObjectMapper将JSON响应数据转换为快速对象

时间:2021-02-26 07:22:26
【文件属性】:
文件名称:AlamofireObjectMapper:Alamofire扩展,可使用ObjectMapper将JSON响应数据转换为快速对象
文件大小:33KB
文件格式:ZIP
更新时间:2021-02-26 07:22:26
Swift AlamofireObjectMapper 的扩展,可使用自动将JSON响应数据转换为快速对象。 用法 给定一个URL,该URL以以下形式返回天气数据: { "location": "Toronto, Canada", "three_day_forecast": [ { "conditions": "Partly cloudy", "day" : "Monday", "temperature": 20 }, { "conditions": "Showers", "day" : "Tuesday", "temperature": 22 },
【文件预览】:
AlamofireObjectMapper-master
----.travis.yml(802B)
----Cartfile.resolved(89B)
----.gitmodules(276B)
----Carthage()
--------Checkouts()
----AlamofireObjectMapper.podspec(858B)
----AlamofireObjectMapper()
--------AlamofireObjectMapper.h(2KB)
--------Info.plist(806B)
--------AlamofireObjectMapper.swift(15KB)
----.swift-version(3B)
----sample_array_json(311B)
----AlamofireObjectMapper.xcworkspace()
--------contents.xcworkspacedata(375B)
--------xcshareddata()
----LICENSE(1KB)
----AlamofireObjectMapperTests()
--------AlamofireObjectMapperTests.swift(15KB)
--------Info.plist(733B)
----sample_keypath_json(640B)
----sample_json(443B)
----AlamofireObjectMapper.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(52KB)
--------xcshareddata()
----.gitignore(2KB)
----README.md(6KB)
----Cartfile(91B)

网友评论