Guest User

Untitled

a guest
Feb 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. let myViewController = MyViewController.instantiate(withServices: myServices)
  2. let myViewController2 = MyViewController2.instantiate(withServices: myServices)
  3. // This is the same myServices instance for the 2 ViewControllers
  4. // but each ViewModel will only access what's needed
Add Comment
Please, Sign In to add comment