Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- beforeEach {
- let storyboard = UIStoryboard(name: "Main", bundle: Bundle.main)
- self.viewController = storyboard.instantiateViewController(withIdentifier: "ViewController") as! ViewController
- UIApplication.shared.keyWindow!.rootViewController = self.viewController
- _ = self.viewController.view
- }
Add Comment
Please, Sign In to add comment