diff --git a/README.md b/README.md index 2c74d44..4e4b5bc 100644 --- a/README.md +++ b/README.md @@ -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)switcheroo:(TSAnimatedRootViewSwitcheroo *)switcheroo