没有合适的资源?快使用搜索试试~ 我知道了~
DictionaryDecoder:一个用于将可编码类型与[String]进行串行化的Swift库
共28个文件
swift:13个
plist:3个
yml:2个
需积分: 0 0 下载量 30 浏览量
2021-05-09
23:42:39
上传
评论
收藏 39KB ZIP 举报
温馨提示
字典解码器 一个用于将可Codable类型与[String: Any]和UserDefaults进行序列化的Swift库。 用法 struct Person : Codable { var name: String var age: Int } // Decode from [String: Any] let person = try DictionaryDecoder () . decode (Person. self , from : [ " name " : " Herbert " , " age " : 99 ]) // Encode to [String: Any] let dict = try DictionaryEncoder (). encode (person) 用户默认值 在UserDefaults中存储和检索任何可Cod
资源推荐
资源详情
资源评论
收起资源包目录
DictionaryDecoder-master.zip (28个子文件)
DictionaryDecoder-master
.gitignore 1KB
codecov.yml 19B
Sources
UserDefaults+Codable.swift 2KB
DictionaryDecoder.swift 20KB
Info.plist 726B
Dictionary+Extension.swift 3KB
DictionaryDecoder.h 2KB
NSUbiquitousKeyValueStore+Codable.swift 2KB
DictionaryEncoder.swift 15KB
LinuxMain.swift 139B
DictionaryDecoder.podspec.json 657B
.travis.yml 965B
LICENSE 1KB
README.md 2KB
Package.swift 666B
Tests
DictionaryEncoderTests.swift 23KB
Info.plist 701B
XCTestManifests.swift 13KB
UserDefaults+CodableTests.swift 4KB
NSUbiquitousKeyValueStore+CodableTests.swift 4KB
Dictionary+ExtensionTests.swift 4KB
DictionaryDecoderTests.swift 35KB
DictionaryDecoder.xcodeproj
xcshareddata
xcschemes
DictionaryDecoder-macOS.xcscheme 4KB
DictionaryDecoder.xcscheme 4KB
project.xcworkspace
xcshareddata
WorkspaceSettings.xcsettings 181B
IDEWorkspaceChecks.plist 238B
contents.xcworkspacedata 162B
project.pbxproj 32KB
共 28 条
- 1
资源评论
想知道不知道但想知道
- 粉丝: 44
- 资源: 4729
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功