Simple to use iOS 7 style (replica, if you will) Passcode view. Not the Lock Screen one, but the one you get in Settings when changing your passcode.
Drag the contents of AddToYourProject to your project, or add pod 'LTHPasscodeViewController' to your podspec file.
- When opened from Settings (as a modal):
- (void)showForEnablingPasscodeInViewController:(UIViewController *)viewController;
- (void)showForChangingPasscodeInViewController:(UIViewController *)viewController;
- (void)showForTurningOffPasscodeInViewController:(UIViewController *)viewController;
// Example:
[[LTHPasscodeViewController sharedUser] showForEnablingPasscodeInViewController: self]- At app launch, or whenever you'd like the user to be shown a passcode entry:
- (void)showLockscreen;
// Example:
[[LTHPasscodeViewController sharedUser] showLockscreen]
// Displayed with a slide up animation, which, combined with
// the keyboard sliding down animation, creates an "unlocking" impression.Everything is easily customizable with macros and static constants.
Makes use of SFHFKeyChainUtils to save the passcode in the Keychain. I know he dropped support for it, but I updated it for ARC 2 years ago (with help) and I kept using it since. The 'new' version isn't updated to ARC anyway, so I saw no reason to switch to it, or to any other library.
Rather than writing a big documentation, I heavily commented it as best as I could. Feel free to contact me, or open an issue if anything is unclear, bugged, or can be improved.
Licensed under MIT. If you'd like, or need, a license without attribution, don't hesitate to contact me.

