Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let myViewController = MyViewController.instantiate(withServices: myServices)
- let myViewController2 = MyViewController2.instantiate(withServices: myServices)
- // This is the same myServices instance for the 2 ViewControllers
- // but each ViewModel will only access what's needed
Add Comment
Please, Sign In to add comment