Skip to content

Commit c1a7ac5

Browse files
author
Thomas Auger
committed
migrate to swift 5, update AppDelegate
1 parent 8f7d7cb commit c1a7ac5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SwiftSocket.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@
504504
PRODUCT_NAME = "$(TARGET_NAME)";
505505
SDKROOT = iphoneos;
506506
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
507-
SWIFT_VERSION = 3.0;
507+
SWIFT_VERSION = 5.0;
508508
TARGETED_DEVICE_FAMILY = "1,2";
509509
};
510510
name = Debug;
@@ -527,7 +527,7 @@
527527
PRODUCT_NAME = "$(TARGET_NAME)";
528528
SDKROOT = iphoneos;
529529
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
530-
SWIFT_VERSION = 3.0;
530+
SWIFT_VERSION = 5.0;
531531
TARGETED_DEVICE_FAMILY = "1,2";
532532
VALIDATE_PRODUCT = YES;
533533
};

iOS Example/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1414
var window: UIWindow?
1515

1616

17-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1818
return true
1919
}
2020

0 commit comments

Comments
 (0)