UDWrapper
UDWrapper是一个用户默认值包装器,但通过加密持久数据添加了一层安全性。
示例
要运行示例项目,克隆仓库,然后在示例目录中首先运行pod install
。
需求
安装
UDWrapper可通过CocoaPods获取。要安装它,只需将以下行添加到您的Podfile文件中
pod 'UDWrapper'
使用方法
// Store
UDWrappper.shared.set(userDefaultKeyValue: "key", string: "Hello Worlkd!")
// Load
let value = UDWrappper.shared.getString(userDefaultKeyValue: StoredKeyValue.attrString)
作者
哈维尔·卡拉萨特拉瓦·伊拉维里亚,[email protected]
许可
UDWrapper遵循MIT许可协议。有关更多信息,请参阅LICENSE文件。