From d08551f8d553172cd3b0475c2fdab065e4acb645 Mon Sep 17 00:00:00 2001 From: Hok Shun Poon Date: Wed, 10 Jun 2015 17:55:21 +0100 Subject: [PATCH] Update README.md `useRoot` is now `switchToRoot`. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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