Best practices for Storyboard login screen, handling clearing of data upon logout
I'm building an iOS app using a Storyboard. The root view controller is a Tab Bar Controller. I'm creating the login/logout process, and it's mostly working fine, but I've got a few issues. I need to know the BEST way to set all this up. I want to accomplish the following: Show a login screen the first time the app is launched. When they login, go to the first tab of the Tab Bar Controller. Any time they launch the app after that, check if they are logged in, and skip straight to the first tab of the root Tab Bar Controller. When they manually click a logout button, show the login screen, and