Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Jones committed Jun 18, 2015
1 parent 0c5dd45 commit 3af43b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -2,7 +2,8 @@

Simple UIViewController transitions.
````
[self presentViewController:navVC animated:YES
animatorClass:[TransitionAnimator class]
completion:nil];
[self presentViewController:navVC
animated:YES
animatorClass:[TransitionAnimator class]
completion:nil];
````
3 changes: 2 additions & 1 deletion SMLTransitionSample/SMLTransitionSample/ViewController.m
Expand Up @@ -35,7 +35,8 @@ - (IBAction)showSecondController:(id)sender
vc.navigationItem.rightBarButtonItem = done;

UINavigationController *navVC = [[UINavigationController alloc] initWithRootViewController:vc];
[self presentViewController:navVC animated:YES
[self presentViewController:navVC
animated:YES
animatorClass:[TransitionAnimator class]
completion:nil];
}
Expand Down

0 comments on commit 3af43b4

Please sign in to comment.