Latest 1.0.0
Homepage https://github.com/lucianboboc/LBKeychain
License MIT
Platforms ios 7.0, requires ARC
Authors

Version
License
Platform

A keychain wrapper to help you save username and password very easy.

How to use


// to save a username and password:
[LBKeychain saveUsernameValueInKeychain: self.emailTextField.text andPasswordValue: self.passwordTextField.text];

// to autocomplete a username and password:
[LBKeychain autocompleteValuesForUsernameField: self.emailTextField andPasswordField: self.passwordTextField];
  • to save a value in keychain use saveValueInKeychain:forIdentifier: method.
    • to delete a value in kechain use deleteItemFromKeychainForIdentifier: method.
    • to search a value in keychain use searchValueForIdentifierInKeychain: method.

If you want to save only a username and a password

  • to save a username and password use saveUsernameValueInKeychain:andPasswordValue: method. This method uses the kLBKeychainUsername value for the user, but that can be changed in LBkeychain.m
  • to delete an already saved username and password use deleteUsernameAndPasswordItemsFromKeychain method.
  • to search for an already saved username using the saveUsernameValueInKeychain:andPasswordValue: method you should use searchUsernameValueInKeychain method.
  • to autocomplete a username and password text fields use autocompleteValuesForUsernameField:andPasswordField: method.

LICENSE

This content is released under the MIT License https://github.com/lucianboboc/LBKeychain/blob/master/LICENSE.md

Enjoy!

Latest podspec

{
    "name": "LBKeychain",
    "version": "1.0.0",
    "summary": "A keychain wrapper to help you save username and password very easy",
    "description": "                   LBKeychain is a keychain wrapper for iOS.n                   It offers:n                   - methods to search, save and delete a value to keychain.n                   - a method to search for the username, a method to save the username and password and a method to delete the username and password.n                   - an autocomplete method for username and password.n",
    "homepage": "https://github.com/lucianboboc/LBKeychain",
    "license": "MIT",
    "authors": {
        "Lucian Boboc": "[email protected]"
    },
    "social_media_url": "http://twitter.com/lucianboboc",
    "source": {
        "git": "https://github.com/lucianboboc/LBKeychain.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "LBKeychain/*.{h,m}"
}

Pin It on Pinterest

Share This