Created
July 31, 2017 21:33
-
-
Save olbrichj/8541951648f5415dcbb0aec2b324260b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import UIKit | |
let appDelegateClass: AnyClass? = NSClassFromString("TEST_TARGET.TestingAppDelegate") ? AppDelegate.self | |
let args = UnsafeMutableRawPointer(CommandLine.unsafeArgv).bindMemory(to: UnsafeMutablePointer<Int8>.self, capacity: Int(CommandLine.argc)) | |
UIApplicationMain(CommandLine.argc, args, nil, NSStringFromClass(appDelegateClass!)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment