{"id":15037752,"url":"https://github.com/ryasnoy/applocker","last_synced_at":"2025-04-13T09:40:45.511Z","repository":{"id":56902203,"uuid":"98569929","full_name":"Ryasnoy/AppLocker","owner":"Ryasnoy","description":"AppLocker - simple lock screen for iOS Application ( Swift 4+, iOS 9.0+) Touch ID / Face ID","archived":false,"fork":false,"pushed_at":"2021-05-26T14:37:18.000Z","size":461,"stargazers_count":214,"open_issues_count":10,"forks_count":45,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-27T01:11:14.567Z","etag":null,"topics":["applocker","face-id","faceid","ios","keychain","keychain-wrapper","locker","lockscreen","passcode","password","pincode","secure","security","swift","swift-3","swift-4","swift-language","swift4","touch-id","touchid"],"latest_commit_sha":null,"homepage":"","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/Ryasnoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-27T18:48:11.000Z","updated_at":"2025-03-03T13:38:22.000Z","dependencies_parsed_at":"2022-08-21T02:20:35.253Z","dependency_job_id":null,"html_url":"https://github.com/Ryasnoy/AppLocker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryasnoy%2FAppLocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryasnoy%2FAppLocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryasnoy%2FAppLocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ryasnoy%2FAppLocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ryasnoy","download_url":"https://codeload.github.com/Ryasnoy/AppLocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248693211,"owners_count":21146753,"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":["applocker","face-id","faceid","ios","keychain","keychain-wrapper","locker","lockscreen","passcode","password","pincode","secure","security","swift","swift-3","swift-4","swift-language","swift4","touch-id","touchid"],"created_at":"2024-09-24T20:35:32.647Z","updated_at":"2025-04-13T09:40:45.489Z","avatar_url":"https://github.com/Ryasnoy.png","language":"Swift","readme":"![](https://github.com/ryasnoy/AppLocker/raw/master/AppLockerLogo.png)\n\n![Swift](https://img.shields.io/badge/Swift-4.0-orange.svg)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](http://mit-license.org)\n[![Platform](http://img.shields.io/badge/platform-ios-lightgrey.svg?style=flat)](https://developer.apple.com/resources/)\n[![Twitter](https://img.shields.io/badge/twitter-@beqance-blue.svg?maxAge=2592000)](http://twitter.com/beqance)\n\n# AppLocker\nVery simple locker for your `iOS` application\n\n### Preview\n![](https://github.com/ryasnoy/AppLocker/raw/master/preview.png)\n\n### Modes\n```swift\nenum ALMode { // Modes for AppLocker\n  case validate\n  case change\n  case deactive\n  case create\n}\n```\n\n### Configuration\n```swift\nstruct ALOptions { // The structure used to display the controller\n  var title: String?\n  var subtitle: String?\n  var image: UIImage?\n  var color: UIColor?\n  var isSensorsEnabled: Bool?\n}\n```\n\n\n### Example\n#### Simple call of controller\n```swift\nAppLocker.present(with: .create) // validate, deactive, change\n```\n#### Calling the controller with configuration\n```swift\n    var options = ALOptions()\n    options.image = UIImage(named: \"face\")!\n    options.title = \"Devios Ryasnoy\"\n    options.isSensorsEnabled = true\n    options.onSuccessfulDismiss = { (mode: ALMode?) in\n        if let mode = mode {\n            print(\"Password \\(String(describing: mode))d successfully\")\n        } else {\n            print(\"User Cancelled\")\n        }\n    }\n    options.onFailedAttempt = { (mode: ALMode?) in\n        print(\"Failed to \\(String(describing: mode))\")\n    }\n\n    AppLocker.present(with: mode, and: appearance, over: self)\n```\n\n## Requirements\nAppLocker is written in Swift 3. iOS 8.0+ Required\n\n## Installation\nJust move the `Source` folder to your project\n\n## CocoaPods\n```\n  pod 'AppLocker'\n```\nFor iOS 8.0\n```\n  pod 'AppLocker', ~\u003e '1.0.1'\n ```\n\n## Author\n\nOleg Ryasnoy, ryasnoy.oleg@gmail.com\n\nTelegram: https://t.me/ryasnoy\n\n## License\n\nAppLocker is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryasnoy%2Fapplocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryasnoy%2Fapplocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryasnoy%2Fapplocker/lists"}