Skip to content

huatuoxyz/DR-Keychain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRKeychain

Usage

Add or Update

[DRKeychain updateValue:@"1234567890ABCDEFG"
				account:@"[email protected]"
				service:@"sample"
				group:@"79UJGB84V7.share"];

Get Value

NSString *value = [DRKeychain getValueWithAccount:@"[email protected]" 
				service:@"sample" 
				group:@"79UJGB84V7.share"];
NSLog(@"%@", value);

Delete

[DRKeychain deleteValueWithAccount:@"[email protected]"
				service:@"sample"
				group:@"79UJGB84V7.share"];

Dump items

NSArray* items = [DRKeychain getItemsWithServices:@"sample" group:@"79UJGB84V7.share"];
NSLog(@"%@", [NSString stringWithFormat:@"%@",items])

Image

Example

Installation

DRKeychain/
	DRKeychain.h
	DRKeychain.m

License

MIT

Copyright (c) 2012 Dongri Jin

About

Keychain services wrapper for iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published