Created
February 26, 2019 10:24
-
-
Save funkyboy/d612d435ac9e61b9519cb109244f0a15 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
Class test = NSClassFromString(@"XCTestCase"); | |
if (test) { | |
appDelegateClass = [UITestsAppDelegate class]; | |
} else { | |
appDelegateClass = [AppDelegate class]; | |
} |
jrturton
commented
Feb 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment