Popularity
1.7
Declining
Activity
0.0
Stable
65
5
4

Code Quality Rank: L4
Programming language: Swift
Tags: Security     TouchID    

JMEasyTouchID alternatives and similar libraries

Based on the "TouchID" category

Do you think we are missing an alternative of JMEasyTouchID or a related project?

Add another 'TouchID' Library

README

TouchIDExtension

TouchID used easy on one line in your ViewController.

Installation

At this moment, You can install only a way, manually. For install, you can add JMEasyTouchID folder to your project.

Usage

  1. Import JMEasyTouchID and init a view.
  2. In ViewController add the follow block: - useTouchID(_:completion) useTouchID("touchID", completion: { (success, messageState, errorResult) -> Void in println(messageState) });
  3. Import LocalAuthentication framework

Return values

  • success: BOOL -> if succes or not
  • stateMessage: NSString -> message with touchID login
  • errorResult:
    • TouchID OK = nil
    • LAErrorAuthenticationFailed = -1
    • LAErrorUserCancel = -2
    • LAErrorUserFallback = -3
    • LAErrorSystemCancel = -4
    • LAErrorPasscodeNotSet = -5
    • LAErrorTouchIDNotAvailable = -6
    • LAErrorTouchIDNotEnrolled = -7

Requeriments

  • TouchID.
  • iOS 8 or higher

License

Mit License

Contact

joanmramon@gmail.com

http://joanmolinas.com


*Note that all licence references and agreements mentioned in the JMEasyTouchID README section above are relevant to that project's source code only.