title: How to user UserDefaults to Save Logged in state?
body: <p>i'm making introdution for my app, in swift 4 but i ran intro a problem. i have a introController and HomeController view,root view is introController so i want if user logged in to HomeController from introControll, then Whenever user open app, the first view appear is HomController, ( they don't need to login again ).</p>
  
  <p>I think about store login state inside of userDefaults, i don't want my app use Navigation, any idea? please help</p>
  
  <p>thanks in advance</p>