Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ Then we can easily add our `TSAnimatedRootViewSwitcheroo` to help transition fro

- (void)signOut {
// Do some stuff
[TSAnimatedRootViewSwitcheroo useRoot:[AppRoots loggedOutRoot] direction:TSSwitcherooAnimationDirectionReverse];
[TSAnimatedRootViewSwitcheroo switchToRoot:[AppRoots loggedOutRoot] direction:TSSwitcherooAnimationDirectionReverse];
}

- (void)signIn {
// Do some stuff
[TSAnimatedRootViewSwitcheroo useRoot:[AppRoots appRoot] direction:TSSwitcherooAnimationDirectionForward];
[TSAnimatedRootViewSwitcheroo switchToRoot:[AppRoots appRoot] direction:TSSwitcherooAnimationDirectionForward];
}

- (id<UIViewControllerAnimatedTransitioning>)switcheroo:(TSAnimatedRootViewSwitcheroo *)switcheroo
Expand Down