{"id":16562305,"url":"https://github.com/d-32/dmpasscode","last_synced_at":"2025-05-08T19:48:48.835Z","repository":{"id":20967608,"uuid":"24256430","full_name":"D-32/DMPasscode","owner":"D-32","description":":lock: Passcode screen with Touch ID support","archived":false,"fork":false,"pushed_at":"2019-08-26T20:23:41.000Z","size":814,"stargazers_count":158,"open_issues_count":8,"forks_count":39,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-07T21:18:37.388Z","etag":null,"topics":["ios","passcode","touchid"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/D-32.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":"2014-09-20T07:10:04.000Z","updated_at":"2024-09-12T14:02:33.000Z","dependencies_parsed_at":"2022-07-30T02:47:57.321Z","dependency_job_id":null,"html_url":"https://github.com/D-32/DMPasscode","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-32%2FDMPasscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-32%2FDMPasscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-32%2FDMPasscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D-32%2FDMPasscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D-32","download_url":"https://codeload.github.com/D-32/DMPasscode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253140730,"owners_count":21860532,"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":["ios","passcode","touchid"],"created_at":"2024-10-11T20:35:38.589Z","updated_at":"2025-05-08T19:48:48.785Z","avatar_url":"https://github.com/D-32.png","language":"Objective-C","readme":"# DMPasscode\n\n[![Build Status](https://img.shields.io/travis/D-32/DMPasscode/master.svg?style=flat)](https://travis-ci.org/D-32/DMPasscode)\n[![Version](https://img.shields.io/cocoapods/v/DMPasscode.svg?style=flat)](http://cocoadocs.org/docsets/DMPasscode)\n![License](https://img.shields.io/cocoapods/l/DMPasscode.svg?style=flat)\n[![twitter: @dylan36032](http://img.shields.io/badge/twitter-%40dylan36032-blue.svg?style=flat)](https://twitter.com/dylan36032)\n\nA simple passcode screen that can be displayed manually. If Touch ID is available the user can skip the screen and instead use his fingerprint to unlock.\n\nCan easily be customised to fit your design.\n\n![image](http://46.105.26.1/uploads/passcode2.png)\n\n## Installation\n\nDMPasscode is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n    pod \"DMPasscode\"\nIf you're not using CocoaPods you'll find the source code files inside `Pod/Classes`. You'll also have to add the `DMPasscode.bundle` to your project.\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\nThe class `DMPasscode` contains following methods:\n\t\n\t+ (void)setupPasscodeInViewController:(UIViewController *)viewController completion:(PasscodeCompletionBlock)completion;\n\t+ (void)showPasscodeInViewController:(UIViewController *)viewController completion:(PasscodeCompletionBlock)completion;\n\t+ (void)removePasscode;\n\t+ (BOOL)isPasscodeSet;\n\t+ (void)setConfig:(DMPasscodeConfig *)config;\n\n#### PasscodeCompletionBlock(BOOL success, NSError *error)\n\nPasscodeCompletionBlock is a custom type of block provided to `DMPasscode` that returns values in the form of two parameters, a `BOOL success` and a `NSError *error`.\nIf `success`, then the user has successfully either setup their passcode, or successfully unlocked with their passcode.\n\nIf not `success`, then the user has either cancelled the passcode process, in which case `error` will be nil.  Or the user has failed to unlock with their passcode, in\nwhich case `error` will not be nil.\n\n## Customisation\n\nYou can pass `DMPasscode` a configuration. Just create a new `DMPasscodeConfiguration`.  \nFollowing properties are available to customise the passcode screen:\n\n\tanimationsEnabled\n\tbackgroundColor\n\tnavigationBarBackgroundColor\n\tnavigationBarForegroundColor\n\tstatusBarStyle\n\tfieldColor\n\temptyFieldColor\n    errorFont\n\terrorBackgroundColor\n\terrorForegroundColor\n\tdescriptionColor\n    inputKeyboardAppearance\n    instructionsFont\n    navigationBarTitle\n    navigationBarFont\n    navigationBarTitleColor\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-32%2Fdmpasscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-32%2Fdmpasscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-32%2Fdmpasscode/lists"}