Last active
January 1, 2024 21:50
-
-
Save jonreid/32005c10f79e0a69f2a5160e1f351f2b to your computer and use it in GitHub Desktop.
Step 2, change appDelegateClass dynamically per https://qualitycoding.org/ios-app-delegate-testing/
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
import UIKit | |
let appDelegateClass: AnyClass = NSClassFromString("TestingAppDelegate") ?? AppDelegate.self | |
UIApplicationMain(CommandLine.argc, CommandLine.unsafeArgv, nil, NSStringFromClass(appDelegateClass)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment