{"id":1924,"url":"https://github.com/simple-machines/simple-touch","last_synced_at":"2025-07-31T12:33:15.699Z","repository":{"id":75695877,"uuid":"44778005","full_name":"simple-machines/simple-touch","owner":"simple-machines","description":"Very simple swift wrapper for Biometric Authentication Services (Touch ID) on iOS.","archived":false,"fork":false,"pushed_at":"2016-12-19T23:54:37.000Z","size":18,"stargazers_count":120,"open_issues_count":2,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-15T00:19:50.838Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simple-machines.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-10-22T22:55:25.000Z","updated_at":"2024-01-24T14:49:47.000Z","dependencies_parsed_at":"2023-06-07T09:36:01.869Z","dependency_job_id":null,"html_url":"https://github.com/simple-machines/simple-touch","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-machines%2Fsimple-touch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-machines%2Fsimple-touch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-machines%2Fsimple-touch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simple-machines%2Fsimple-touch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simple-machines","download_url":"https://codeload.github.com/simple-machines/simple-touch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228248365,"owners_count":17891447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:59.105Z","updated_at":"2024-12-05T06:31:13.261Z","avatar_url":"https://github.com/simple-machines.png","language":"Swift","funding_links":[],"categories":["Security"],"sub_categories":["Unofficial","Other free courses"],"readme":"# SimpleTouch\n\nVery simple swift wrapper for Biometric Authentication Services (Touch ID) on\niOS.\n\nSample Project\n--------------\nThere is a `SimpleTouchDemo` target defined in the project file. This will run in\nthe Simulator or on a device.\n\nInstallation\n------------\n\n### Carthage\n\nAdd the following to your `Cartfile`\n\n```\ngithub \"simple-machines/simple-touch\"\n```\n\n### Manual\n\n- Drag and drop `SimpleTouch.xcodeproj` into your project in Xcode.\n- Add the SimpleTouch framework `SimpleTouch (SimpleTouch)` as a `Target\nDependency` in `Build Phases` in your project.\n- Add `SimpleTouch.framework` in the `Link Binary With Libraries` step in `Build\nPhases` in your project if it's not there already.\n\nUse\n---\n\nFirst of all, import the framework:\n\n```\nimport SimpleTouch\n```\n\nThen, check for Touch ID support:\n\n```\nswitch SimpleTouch.isTouchIDEnabled {\ncase .success:\n  // All is good. Can use Touch ID for authentication\n  break\ncase .error(let error):\n  // TouchID cannot be used. Interrogate error to see why\n  break\n}\n```\n\nFinally, attempt to authenticate with Touch ID:\n```\nSimpleTouch.presentTouchID(\"Testing Touch ID\", fallbackTitle: \"Fallback Method\") { response in\n  switch response {\n  case .success:\n    // Successful authentication\n    break\n  case .error(let error):\n    // Authentication failed. Interrogate error to see why\n    break\n  }\n}\n\n```\n\nContributing\n------------\nWe :heart: pull requests. If you'd like to see new features, fix bugs, or lodge\nissues then please do so via Github.\n\nLicense\n-------\nSimpleTouch is released under an MIT license. See LICENSE.md for more\ninformation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-machines%2Fsimple-touch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimple-machines%2Fsimple-touch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimple-machines%2Fsimple-touch/lists"}