From 2f454c37ef3617e777fb1e0cf437c815673f84c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= Date: Sat, 6 Oct 2018 05:31:48 +0200 Subject: [PATCH] Fix demo project not working --- Demo.xcodeproj/project.pbxproj | 4 ++-- iOSDemo/AppDelegate.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Demo.xcodeproj/project.pbxproj b/Demo.xcodeproj/project.pbxproj index 8c59820..3a56fc0 100755 --- a/Demo.xcodeproj/project.pbxproj +++ b/Demo.xcodeproj/project.pbxproj @@ -1323,7 +1323,7 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; }; name = Debug; }; @@ -1369,7 +1369,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.2; VALIDATE_PRODUCT = YES; }; name = Release; diff --git a/iOSDemo/AppDelegate.swift b/iOSDemo/AppDelegate.swift index f7cfd49..63b59c6 100644 --- a/iOSDemo/AppDelegate.swift +++ b/iOSDemo/AppDelegate.swift @@ -7,7 +7,7 @@ class AppDelegate: UIResponder { extension AppDelegate: UIApplicationDelegate { - private func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { window = UIWindow(frame: UIScreen.main.bounds) let controller = OptionsController(nibName: nil, bundle: nil)