Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
armadsen authored Aug 30, 2018
1 parent 4a4f0dd commit 1e4480c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sprint 6/Module 4 - View Controller Transitions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ There are a number of ways to approach this custom transition, but perhaps the m
You'll need to provide the navigation controller with a delegate. You'll also need to set the animation up when the table view cell -> detail view segue is triggered.

1. In your table view controller's `viewDidLoad()`, set the `navigationController`'s delegate to an instance of `NavigationControllerDelegate`.
2. Implement `prepare(for segue:)`. Get the tapped row, and use it to give the navigation controller the source table view cell.
2. Implement `prepare(for segue:)`. Get the tapped row, and use it to give the navigation controller delegate the source table view cell.
3. In your `NavigationControllerDelegate`'s `navigationController(_ navigationController:, animationControllerFor:, from:, to:)` method, create and configure an `Animator` object, and return it. The animator will need to have its source and destination imageView and label properties set. **Note: You must keep a strong reference to the animator object in your navigation controller delegate. Use a property to hold it instead of creating a temporary instance and referencing it solely in this method.**

## Part Three - Implement the Animation
Expand All @@ -60,4 +60,4 @@ You're ready now to implement the actual animation.
If you finish early or want to push yourself, here are a few additional features you can implement:

- Make it so the back action can be perform using a swipe guesture like a standard navigation controller. The animation should be interactive and should track the user's finger. Hint: You'll need to use a `UIPanGuestureRecognizer`.
- Make the table view cell's image view rounded. Animate the corner radius changing to make it square on the detail view.
- Make the table view cell's image view rounded. Animate the corner radius changing to make it square on the detail view.

0 comments on commit 1e4480c

Please sign in to comment.