{"id":15293605,"url":"https://github.com/asifbilal786/abpasscodeviewcontroller","last_synced_at":"2025-04-06T04:20:17.086Z","repository":{"id":56900123,"uuid":"98639608","full_name":"asifbilal786/ABPasscodeViewController","owner":"asifbilal786","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-28T12:06:30.000Z","size":255,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T08:17:42.578Z","etag":null,"topics":["asifbilal","asifbilal786","ios","ios10","ios11","passcode","passcode-input","passcode-viewcontroller","swift","swift-3","xcode","xcode8"],"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/asifbilal786.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-28T10:37:07.000Z","updated_at":"2019-10-23T02:44:22.000Z","dependencies_parsed_at":"2022-08-21T02:20:57.079Z","dependency_job_id":null,"html_url":"https://github.com/asifbilal786/ABPasscodeViewController","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifbilal786%2FABPasscodeViewController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifbilal786%2FABPasscodeViewController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifbilal786%2FABPasscodeViewController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asifbilal786%2FABPasscodeViewController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asifbilal786","download_url":"https://codeload.github.com/asifbilal786/ABPasscodeViewController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247431514,"owners_count":20937984,"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":["asifbilal","asifbilal786","ios","ios10","ios11","passcode","passcode-input","passcode-viewcontroller","swift","swift-3","xcode","xcode8"],"created_at":"2024-09-30T16:50:10.755Z","updated_at":"2025-04-06T04:20:16.849Z","avatar_url":"https://github.com/asifbilal786.png","language":"Swift","readme":"# ABPasscode\nA utility control with built in functionality of pass code view that takes inputs in the form secure entry from user. To get the call back methods, you must implement it’s delegate methods to get the code, when user finish entering the passcode.\n\n## Demo\n![gif1](https://raw.githubusercontent.com/asifbilal786/ABPasscodeViewController/screenshots/ABPasscode.gif)\n\n## Requirements\n\n- iOS 8 and above.\n- Xcode 8 and above\n\n\n## Adding ABPasscodeViewController to your project\n\n### METHOD 1:\n1. Add a pod entry for `ABPasscode` to your Podfile\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '8.0'\nuse_frameworks!\n\npod 'ABPasscode', '~\u003e 0.1'\n``` \n\n2. Install the pod(s) by running `pod install`.\n\n### MEHTOD 2: (Source files)\nAlternatively, you can directly add all files under the folder Core to your project.\n\n1. Download the [latest code version](https://github.com/asifbilal786/ABPasscodeViewController/archive/master.zip) or add the repository as a git submodule to your git-tracked project.\n2. Open your Xcode project, then drag and drop source directory onto your project. Make sure to select Copy items when asked if you extracted the code archive outside of your project.\n \n\n## Usage\n\nCreate instance variable of PhotoPicker in your view controller and push in navigation controller.\n\n```\nlet passcodeVC = PasscodeViewController()\npasscodeVC.delegate = self\nnavigationController?.pushViewController(passcodeVC, animated: true)\n```\n\nAnd then call the delegate functions for different event.\n\n```\nextension ViewController: PasscodeViewDelegate {\n    \n    func passcodeView(_ passcodeView: PasscodeViewController, didEnteredCode code: String) {\n        \n        DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) {\n            \n            self.navigationController?.popViewController(animated: true)\n            self.lblPasscode.text = \"Entered Code: \\(code)\"\n        }\n        \n    }\n    \n    func passcodeView(_ passcodeView: PasscodeViewController, didTapResendButton resendButton: UIButton) {\n        \n    }\n    \n}\n```\n\nSee example projects for detail.\n\n## License\nThis code is distributed under the terms and conditions of the [MIT license](LICENSE). \n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifbilal786%2Fabpasscodeviewcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasifbilal786%2Fabpasscodeviewcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasifbilal786%2Fabpasscodeviewcontroller/lists"}