Latest 0.1.0
Homepage https://github.com/datinc/DATTouchID
License MIT
Platforms ios 9.0
Authors

[![CI Status](http://img.shields.io/travis/Peter Gulyas/DATTouchID.svg?style=flat)](https://travis-ci.org/Peter Gulyas/DATTouchID)
Version
License
Platform

Use DATTouchID to access or store data using biometrics or passcode to authenticate

Example Project

To run the example project, clone the repo, and run pod install from the Example directory first.

Example Implementation


- (void) viewDidLoad{
  ...
  self.touchId = [DATTouchID new];
  if (self.touchId.hasData){
    ... update interface
  }
}

- (void) loadData{
  [self.touchId getDataWithPrompt:@"Load stored credentials" complete:^(NSData *data, NSError *error) {
    ...
  }];
}

- (void) saveData{
  NSData* data = ...;
  [self.touchId setData:data complete:^(BOOL success, NSError * error) {
    ...
  }];
}

Installation

DATTouchID is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DATTouchID"

License

DATTouchID is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DATTouchID",
    "version": "0.1.0",
    "summary": "DATTouchID uses the devices biometrics or passcode to access or store data.",
    "description": "Use DATTouchID to access or store data using biometrics or passcode to authenticate.",
    "homepage": "https://github.com/datinc/DATTouchID",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Peter Gulyas": "[email protected]"
    },
    "source": {
        "git": "https://github.com/datinc/DATTouchID.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/datincca",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "DATTouchID/Classes/**/*"
}

Pin It on Pinterest

Share This