Ios manage session checking

ios

#1

Hi… I am using manual install of twitter kit and I’m at a loss on how to check if the user is logged on or not. I know I should do this in appDelegate so I know which viewcontroller to direct the user to but I’m at a loss on where to put/use

let store = Twitter.sharedInstance().sessionStore
let lastSession = store.session()
let sessions = store.existingUserSessions()

i am able to successfully log in the user already. and I only have to worry about a single user using at a time. Can i get some directions? I’m assuming, login persists unless the app is deleted or the user signs out?

Thank you.