Created
February 18, 2016 21:16
-
-
Save fulldecent/529849bc5dd4464bbde2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A view controller cannot segue to another controller without presenting itself. | |
https://stackoverflow.com/questions/8221787/perform-segue-on-viewdidload | |
https://stackoverflow.com/questions/10428629/programatically-set-the-initial-view-controller-using-storyboards | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
self.window = UIWindow(frame: UIScreen.mainScreen().bounds) | |
let mainStoryboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil) | |
var exampleViewController: ExampleViewController = mainStoryboard.instantiateViewControllerWithIdentifier("ExampleController") as! ExampleViewController | |
self.window?.rootViewController = exampleViewController | |
self.window?.makeKeyAndVisible() | |
return true | |
} | |
https://stackoverflow.com/questions/32988241/how-to-access-launchenvironment-and-launcharguments-set-in-xcuiapplication-runn | |
https://stackoverflow.com/questions/30020578/cant-find-headers-for-googleanalytics-ios-sdk-with-cocoapods-0-37-swift-frame | |
https://forums.developer.apple.com/thread/13118 | |
https://stackoverflow.com/questions/34340896/ios-ui-testing-on-an-isolated-view | |
https://stackoverflow.com/questions/31600777/xcode-ui-test-example |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment