Giter Club home page Giter Club logo

latch's Introduction

Latch

A simple Swift 2.0 Keychain Wrapper for iOS, watchOS 2, and OS X.

Usage

A proper example of how to use Latch can be seen in the tests.

import Latch

let latch = Latch(service: "co.rocketapps.latch.example")
latch.setObject("super_secret_token", forKey: "FBAccessToken")

let token = latch.stringForKey("FBAccessToken")

print(token)

Documentation

You can find full documentation for Latch here, or use the inline documentation.

Installation

Latch can be installed using CocoaPods, Carthage, or git submodules.

CocoaPods

  1. Add pod "Latch" to your podfile
  2. Run pod install

Carthage

  1. Add github "DanToml/Latch" to your Cartfile
  2. $ carthage update
  3. Copy the frameworks into your Xcode project

Git Submodules

  1. $ git submodule add https://github.com/DanToml/Latch.git
  2. $ git submodule update --init --recursive
  3. Add the project

Contributing

Issues

Issues and feature requests are welcome, although the intention is to keep Latch lightweight.

## Submitting Pull Requests

  1. Fork it ( http://github.com/DanToml/Latch/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

latch's People

Contributors

endocrimes avatar ianabray avatar readmecritic avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.