Last active
July 29, 2020 17:34
-
-
Save peteranny/322b7ede1a7303621b003f27dc8de256 to your computer and use it in GitHub Desktop.
An example app to test if PromiseKit imported successfully. https://medium.com/@tingyishih/ios-migrate-from-cocoapods-to-carthage-7be237e4cac0
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 PromiseKit | |
import UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
let p = Promise.value(0) // A useless promise just for test | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment