Skip to content

Commit d653951

Browse files
committed
1 parent 18c1146 commit d653951

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.mdown

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,14 @@ Just #import the UIPasscodeViewController.h header
2525
Simple example of how to create UIPasscodeViewController:
2626

2727
`UIPasscodeViewController *passcodeViewController = [[UIPasscodeViewController alloc] initWithDelegate:self];
28-
29-
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:passcodeViewController];
28+
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:passcodeViewController];
3029

3130
[self setNavigationController:navController];
32-
3331
[window addSubview:[navController view]];
34-
3532
[window makeKeyAndVisible];
36-
3733
[window release];
38-
3934
[navController release];`
4035

41-
42-
4336
Your class will have to implement the UIPasscodeViewControllerDelegate protocol, and to implement the `didShowPasscodePanel:panelView:`, `shouldChangePasscode:panelView:passCode:lastNumber:` and `didEndPasscodeEditing:panelView:passCode:` methods from this protocol:
4437

4538
`- (void) didShowPasscodePanel:(UIPasscodeViewController *)passcodeView panelView:(UIView*)panelView

0 commit comments

Comments
 (0)