Skip to content

Commit 0c07399

Browse files
committed
Migrate example to 5.0 swift
1 parent 791e8fb commit 0c07399

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Example/Example.xcodeproj/project.pbxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
developmentRegion = English;
130130
hasScannedForEncodings = 0;
131131
knownRegions = (
132+
English,
132133
en,
133134
Base,
134135
);
@@ -293,7 +294,7 @@
293294
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294295
PRODUCT_BUNDLE_IDENTIFIER = com.ey.Example;
295296
PRODUCT_NAME = "$(TARGET_NAME)";
296-
SWIFT_VERSION = 4.2;
297+
SWIFT_VERSION = 5.0;
297298
};
298299
name = Debug;
299300
};
@@ -305,7 +306,7 @@
305306
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
306307
PRODUCT_BUNDLE_IDENTIFIER = com.ey.Example;
307308
PRODUCT_NAME = "$(TARGET_NAME)";
308-
SWIFT_VERSION = 4.2;
309+
SWIFT_VERSION = 5.0;
309310
};
310311
name = Release;
311312
};

Example/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-
private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
17+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
1818
// Override point for customization after application launch.
1919
return true
2020
}

0 commit comments

Comments
 (0)