title: How to Navigate from one screen to another in swift Working in MVVM
body: <p>I am doing this with out working in MVVM as follows, but what will be the best approach for navigation in MVVM, if possible kindly consider both cases -navigation with or with out data, any clue will be appreciated: Thanks</p>
  
  <pre><code>let st = UIStoryboard.init(name: "Register", bundle: nil)
      let register = st.instantiateViewController(withIdentifier: "RegisterVC" ) as! RegisterVC
  register.data  =  self.data
  self.navigationController?.pushViewController(register, animated: true)`
  </code></pre>