Skip to content

Keychain is as simple as NSUserDefaults

Notifications You must be signed in to change notification settings

ccsteam/Keychain

This branch is 23 commits behind valery-bashkatov/Keychain:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Valery Bashkatov
Oct 15, 2016
da19cc0 · Oct 15, 2016

History

4 Commits
Oct 15, 2016
Oct 15, 2016
Oct 15, 2016
Aug 7, 2016
Aug 8, 2016
Aug 8, 2016

Repository files navigation

Keychain

Carthage compatible Platform

Description

Keychain provides simple mechanism (like working with NSUserDefaults) for interactions with the keychain storage.

Requirements

  • iOS 8.0+
  • Xcode 7.3+

Installation

Carthage

To integrate Keychain into your project using Carthage, specify it in your Keychain:

github "valery-bashkatov/Keychain"

And then follow the instructions to install the framework.

Documentation

API Reference is located at http://valery-bashkatov.github.io/Keychain.

Usage

import Keychain

try! Keychain.setValue("Jack", forKey: "name")
try! Keychain.setValue([3735565, 2454548, 964533], forKey: "phoneNumbers")
        
let name = try! Keychain.getValue(forKey: "name") as! String
let phoneNumbers = try! Keychain.getValue(forKey: "phoneNumbers") as! [Int]

About

Keychain is as simple as NSUserDefaults

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%