Latest 0.0.2
Homepage https://github.com/simpossible/IBLKeyChain
License MIT
Platforms ios 8.0
Authors

实现iOS keychain 的存储的API。
牺牲易用性。增加可理解性,以及可扩展性。

1.通用密码的存储。
使用 IBLKeyChainGPItem

IBLKeyChainGPItem *gpItem = [[IBLKeyChainGPItem alloc] init];
gpItem.itemAccount = self.account.text;
gpItem.itemValueData = [self.password.text dataUsingEncoding:NSUTF8StringEncoding];
gpItem.itemService = self.service.text;
gpItem.itemLabel = self.label.text;
gpItem.itemGeneric = @"genenenen";

OSStatus a =  [[IBLKeyChainAccessor defaultAccessor] storeItem:gpItem];

如果存储成功。item 的其他值会被赋值

Latest podspec

{
    "name": "IBLKeyChain",
    "version": "0.0.2",
    "summary": "keychain u7684u65b9u4fbfu5b58u50a8u7684u5e93uff0cu65b9u4fbfu4f7fu7528u4ee5u53cau7406u89e3",
    "description": "u8be6u60c5uff1a http://123.207.78.254/keychain.html",
    "homepage": "https://github.com/simpossible/IBLKeyChain",
    "license": "MIT",
    "authors": {
        "simpossible": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/simpossible/IBLKeyChain",
        "tag": "0.0.2"
    },
    "source_files": [
        "IBLKeyChian",
        "IBLKeyChian/IBLKeyChain/**/*.{h,m}"
    ],
    "exclude_files": "Pod"
}

Pin It on Pinterest

Share This