KeyChainHelper:iOS KeyChain Helper - iOS 8 Object-C。 帮助从 KeyChain 插入、更新、检索和删除项目的简单类

时间:2024-07-14 18:01:02
【文件属性】:

文件名称:KeyChainHelper:iOS KeyChain Helper - iOS 8 Object-C。 帮助从 KeyChain 插入、更新、检索和删除项目的简单类

文件大小:34KB

文件格式:ZIP

更新时间:2024-07-14 18:01:02

Objective-C

钥匙串助手 iOS KeyChain Helper - iOS 8 / Objectve-C。 帮助从 KeyChain 插入、更新、检索和删除项目的简单类 初始化 Helper,给它一些独特的东西,比如你的 bundle id [KeyChainHelper initWithServiceName:@"com.tomjay.test"]; 保存一些数据(保存和更新是同一个调用) NSData* value = [@"secret stuff2" dataUsingEncoding:NSUTF8StringEncoding]; [[KeyChainHelper sharedKeyChainHelper] setKeyChainDataValueForAttribute:@"testitem2" value:value]; 从钥匙串获取数据 NSData *retValue = [


【文件预览】:
KeyChainHelper-master
----README.md(2KB)
----KeyChainHelper()
--------.DS_Store(6KB)
--------KeyChainHelper.xcodeproj()
--------KeyChainHelperTests()
--------KeyChainHelper()

网友评论