Skip to content

Commit ea718c0

Browse files
committed
1 parent 66bc7f1 commit ea718c0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.mdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ Just #import the UIPasscodeViewController.h header
2424

2525
Simple example of how to create UIPasscodeViewController:
2626

27-
`UIPasscodeViewController *passcodeViewController = [[UIPasscodeViewController alloc] initWithDelegate:self];
28-
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:passcodeViewController];
29-
[self setNavigationController:navController];
30-
[window addSubview:[navController view]];
31-
[window makeKeyAndVisible];
32-
[window release];
33-
[navController release];`
27+
UIPasscodeViewController *passcodeViewController = [[UIPasscodeViewController alloc] initWithDelegate:self];
28+
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:passcodeViewController];
29+
[self setNavigationController:navController];
30+
[window addSubview:[navController view]];
31+
[window makeKeyAndVisible];
32+
[window release];
33+
[navController release];
3434

3535
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:
3636

0 commit comments

Comments
 (0)