【发布时间】:2019-01-11 22:19:23
【问题描述】:
我正在将 DATA 转换为 Decodable 结构。现在我必须在 KeyChain 中存储“可解码结构”。但是没有办法将可解码的结构存储在钥匙串中。有什么办法吗?
我被利用了 https://medium.com/ios-os-x-development/securing-user-data-with-keychain-for-ios-e720e0f9a8e2 用于钥匙串。这用于https://roadfiresoftware.com/2018/02/how-to-parse-json-with-swift-4/ Json 解析。我想在 Keychain 中存储 Decodable 对象。
【问题讨论】:
标签: json struct swift4 decodable