Skip to content

Commit

Permalink
Swift 4.2 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgriselli committed Sep 24, 2018
1 parent c9db188 commit 39c58b7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
11 changes: 9 additions & 2 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 6 additions & 10 deletions Example/ViewAnimator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -337,12 +337,12 @@
607FACCF1AFB9204008FA782 = {
CreatedOnToolsVersion = 6.3.1;
DevelopmentTeam = 8PC4X7QUY9;
LastSwiftMigration = 0910;
LastSwiftMigration = 1000;
};
607FACE41AFB9204008FA782 = {
CreatedOnToolsVersion = 6.3.1;
DevelopmentTeam = 8PC4X7QUY9;
LastSwiftMigration = 0910;
LastSwiftMigration = 1000;
TestTargetID = 607FACCF1AFB9204008FA782;
};
FBFFC9B120950FEB00DFF96B = {
Expand Down Expand Up @@ -679,8 +679,7 @@
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Debug;
};
Expand All @@ -695,8 +694,7 @@
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
};
name = Release;
};
Expand All @@ -717,8 +715,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ViewAnimator_Example.app/ViewAnimator_Example";
};
name = Debug;
Expand All @@ -736,8 +733,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Off;
SWIFT_VERSION = 4.0;
SWIFT_VERSION = 4.2;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ViewAnimator_Example.app/ViewAnimator_Example";
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion Example/ViewAnimator/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +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
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ViewAnimator
class TableViewController: UITableViewController {

private var items = [Any?]()
private let activityIndicator = UIActivityIndicatorView(activityIndicatorStyle: .gray)
private let activityIndicator = UIActivityIndicatorView(style: .gray)
private let animations = [AnimationType.from(direction: .bottom, offset: 30.0)]

override func viewDidLoad() {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>

<p align="center">
<img src="https://img.shields.io/badge/Swift-4.1-orange.svg" />
<img src="https://img.shields.io/badge/Swift-4.2-orange.svg" />
<img src="https://img.shields.io/badge/Platforms-iOS%20%7C%20tvOS-blue.svg?style=flat" />
<img src="https://img.shields.io/cocoapods/dt/ViewAnimator.svg?style=flat"/>
<a href="https://cocoapods.org/pods/ViewAnimator">
Expand Down

0 comments on commit 39c58b7

Please sign in to comment.