Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
Convert the Example project to Swift 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechczerski committed Sep 23, 2018
1 parent 947ff94 commit 87c16c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion SwiftMonkeyExample/App/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var paws: MonkeyPaws?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
paws = MonkeyPaws(view: window!)
return true
}
Expand Down
13 changes: 6 additions & 7 deletions SwiftMonkeyExample/SwiftMonkeyExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,13 @@
C929B5301DD0A764004B256F = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = 9LW237982J;
LastSwiftMigration = 0900;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic;
};
C929B5461DD0A764004B256F = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = 9LW237982J;
LastSwiftMigration = 1000;
ProvisioningStyle = Automatic;
TestTargetID = C929B5301DD0A764004B256F;
};
Expand Down Expand Up @@ -502,8 +503,7 @@
PRODUCT_BUNDLE_IDENTIFIER = org.zalando.SwiftMonkeyExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Debug;
};
Expand All @@ -520,8 +520,7 @@
PRODUCT_BUNDLE_IDENTIFIER = org.zalando.SwiftMonkeyExample;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Release;
};
Expand All @@ -534,7 +533,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = org.zalando.SwiftMonkeyExampleUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TEST_TARGET_NAME = SwiftMonkeyExample;
};
name = Debug;
Expand All @@ -548,7 +547,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = org.zalando.SwiftMonkeyExampleUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TEST_TARGET_NAME = SwiftMonkeyExample;
};
name = Release;
Expand Down

0 comments on commit 87c16c4

Please sign in to comment.