From 5f69c6a3fa908cb7d854a15a814ffdc6d90a8471 Mon Sep 17 00:00:00 2001 From: saiedkia Date: Sat, 27 Apr 2019 00:37:46 +0430 Subject: [PATCH] swift 4.2 --- SwiftThreading.xcodeproj/project.pbxproj | 4 ++-- SwiftThreading/AppDelegate.swift | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/SwiftThreading.xcodeproj/project.pbxproj b/SwiftThreading.xcodeproj/project.pbxproj index 13f346a..0206e5b 100644 --- a/SwiftThreading.xcodeproj/project.pbxproj +++ b/SwiftThreading.xcodeproj/project.pbxproj @@ -251,7 +251,7 @@ INFOPLIST_FILE = SwiftThreading/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -263,7 +263,7 @@ INFOPLIST_FILE = SwiftThreading/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Release; }; diff --git a/SwiftThreading/AppDelegate.swift b/SwiftThreading/AppDelegate.swift index dd36178..c77b63e 100644 --- a/SwiftThreading/AppDelegate.swift +++ b/SwiftThreading/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]?) -> Bool { // Override point for customization after application launch. return true }