Skip to content
Objective-C class for access to Keychain
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
License.txt
PTKeychain.h
PTKeychain.m
README.mdown

README.mdown

Using PTKeychain

Add files PTKeychain.h and PTKeychain.m into your project

Import class import "PTKeychain.h"

Add password [PTKeychain addKeychainPassword:@"Password" withLabel:@"Your application name: Service" forAccount:@""];

Change password [PTKeychain modifyKeychainPassword:@"Password" withLabel:@"Your application name: Service" forAccount:@""];

Remove password from Keychain [PTKeychain deleteKeychainPasswordForLabel:@"Your application name: Service" account:@""];

Check exists for keychain item [PTKeychain keychainExistsWithLabel:@"Your application name: Service" forAccount:@""];

Get password [PTKeychain passwordForLabel:@"Your application name: Service" account:@""];

Something went wrong with that request. Please try again.