Skip to content

mustafaibrahim989/MIPatternLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Mustafa Ibrahim
Sep 27, 2014
f123f96 · Sep 27, 2014

History

4 Commits
Feb 7, 2014
Feb 7, 2014
Feb 7, 2014
Feb 7, 2014
Feb 7, 2014
Feb 7, 2014
Feb 7, 2014
Sep 27, 2014
Feb 7, 2014
Feb 7, 2014

Repository files navigation

MIPatternLock

iOS style pattern lock, inspired by http://blog.grio.com/2011/11/android-pattern-lock-on-iphone.html

Installation

MIPatternLockViewController *patternLockVC = [[MIPatternLockViewController alloc] init];
// optional set your transition style
patternLockVC.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[patternLockVC showPatternLockFor:showForAuthenticate withActiveDotImage:[UIImage imageNamed:@"dot_active"] withInactiveDotImage:[UIImage imageNamed:@"dot_inactive"] withLineColor:nil withCompletionHandler:^(MIPatternLockViewController *viewController, NSString *patternString) {
    NSLog(@"%@", patternString);
}];

choose between types: showForAuthenticate, showForEnable, showForChange, showForDisable

Notes

Designed for iOS 6 & 7.

Screenshots

alt tag==alt tag

License

MIPatternLock is available under the MIT license. See the LICENSE file for more info.

About

iOS style pattern lock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published