diff --git a/Example/LoadingPlaceholderView.xcodeproj/project.pbxproj b/Example/LoadingPlaceholderView.xcodeproj/project.pbxproj index 367c530..f9bb4c3 100644 --- a/Example/LoadingPlaceholderView.xcodeproj/project.pbxproj +++ b/Example/LoadingPlaceholderView.xcodeproj/project.pbxproj @@ -481,7 +481,7 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -498,7 +498,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.marioiannotta.loadingplaceholderview; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_SWIFT3_OBJC_INFERENCE = Default; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/Example/LoadingPlaceholderView/AppDelegate.swift b/Example/LoadingPlaceholderView/AppDelegate.swift index 0f72748..164c1ac 100644 --- a/Example/LoadingPlaceholderView/AppDelegate.swift +++ b/Example/LoadingPlaceholderView/AppDelegate.swift @@ -13,8 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { // Override point for customization after application launch. return true }