Skip to content

axidms/AXEasyKeychain

Repository files navigation

AXEasyKeychain

Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Creates or updates new item with the provided value and ID:

[AXEasyKeychainWrapper updateValue:@"value" withId:@"KeychainId"];

Returns value for provided ID:

NSString *value = [AXEasyKeychainWrapper valueById:@"KeychainId"];

Remove all items:

[AXEasyKeychainWrapper clearKeychain];

Creates or update key value pairs with the provided ID:

[AXEasyKeychainWrapper updateValue:@"value" forKey:@"key1" withId:@"DictionaryKeychainId"];	[AXEasyKeychainWrapper updateValue:@"value" forKey:@"key2" withId:@"DictionaryKeychainId"];	[AXEasyKeychainWrapper updateValue:@"value" forKey:@"key3" withId:@"DictionaryKeychainId"];

Returns dictionary for provided ID:

NSDictionary *dictionary = [AXEasyKeychainWrapper dictionaryById:@"DictionaryKeychainId"]

Remove value by key and for provided ID:

[AXEasyKeychainWrapper removeValueByKey:@"key2" withId:@"DictionaryKeychainId"]

Requirements

Installation

AXEasyKeychain is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AXEasyKeychain" 

Author

Alexander Mertvetsov, amertvetsov@yandex.ru

License

AXEasyKeychain is available under the MIT license. See the LICENSE file for more info.

About

Very easy and open source wrapper class for Keychain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published