Skip to content

Commit 8f614f3

Browse files
author
Toine Heuvelmans
committed
Merge branch 'swift4'
2 parents 289915c + a22f930 commit 8f614f3

25 files changed

Lines changed: 238 additions & 205 deletions

File tree

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0
1+
4.0

Examples/BuiltInTransitionsCatalog/BuiltInTransitionsCatalog.xcodeproj/project.pbxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
BA7592D91E5CC79B00B021BF = {
142142
CreatedOnToolsVersion = 8.2.1;
143143
DevelopmentTeam = LQ449R4NTB;
144+
LastSwiftMigration = 0900;
144145
ProvisioningStyle = Automatic;
145146
};
146147
};
@@ -363,7 +364,8 @@
363364
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
364365
PRODUCT_BUNDLE_IDENTIFIER = com.touchwonders.BuiltInTransitionsCatalog;
365366
PRODUCT_NAME = "$(TARGET_NAME)";
366-
SWIFT_VERSION = 3.0;
367+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
368+
SWIFT_VERSION = 4.0;
367369
};
368370
name = Debug;
369371
};
@@ -376,7 +378,8 @@
376378
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
377379
PRODUCT_BUNDLE_IDENTIFIER = com.touchwonders.BuiltInTransitionsCatalog;
378380
PRODUCT_NAME = "$(TARGET_NAME)";
379-
SWIFT_VERSION = 3.0;
381+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
382+
SWIFT_VERSION = 4.0;
380383
};
381384
name = Release;
382385
};

Examples/BuiltInTransitionsCatalog/BuiltInTransitionsCatalog/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3131

3232
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
3333
if let navigationController = window?.rootViewController as? UINavigationController, let font = UIFont(name: transitionFontName, size: 20.0) {
34-
navigationController.navigationBar.titleTextAttributes = [NSFontAttributeName: font, NSForegroundColorAttributeName: UIColor.white]
34+
navigationController.navigationBar.titleTextAttributes = [NSAttributedStringKey.font: font, NSAttributedStringKey.foregroundColor: UIColor.white]
3535
}
3636
return true
3737
}

Examples/BuiltInTransitionsCatalog/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Transition (1.0.1)
2+
- Transition (1.1.0)
33

44
DEPENDENCIES:
55
- Transition (from `../../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ../../
1010

1111
SPEC CHECKSUMS:
12-
Transition: ab1a745e3b93150eb50c15dd3238995fbf36c503
12+
Transition: 1f9b5445a034df95edcb243f81952b3fda317d72
1313

1414
PODFILE CHECKSUM: b59c970b89cb4702c2022cf9dcbc7f1aa68e099a
1515

Examples/ModalTransitionsExample/ModalTransitionsExample.xcodeproj/project.pbxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@
174174
BA3912A61E433FFA00F737D3 = {
175175
CreatedOnToolsVersion = 8.2.1;
176176
DevelopmentTeam = LQ449R4NTB;
177+
LastSwiftMigration = 0900;
177178
ProvisioningStyle = Automatic;
178179
};
179180
};
@@ -404,7 +405,8 @@
404405
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
405406
PRODUCT_BUNDLE_IDENTIFIER = com.touchwonders.ModalTransitionsExample;
406407
PRODUCT_NAME = "$(TARGET_NAME)";
407-
SWIFT_VERSION = 3.0;
408+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
409+
SWIFT_VERSION = 4.0;
408410
};
409411
name = Debug;
410412
};
@@ -418,7 +420,8 @@
418420
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
419421
PRODUCT_BUNDLE_IDENTIFIER = com.touchwonders.ModalTransitionsExample;
420422
PRODUCT_NAME = "$(TARGET_NAME)";
421-
SWIFT_VERSION = 3.0;
423+
SWIFT_SWIFT3_OBJC_INFERENCE = On;
424+
SWIFT_VERSION = 4.0;
422425
};
423426
name = Release;
424427
};

Examples/ModalTransitionsExample/ModalTransitionsExample/Transitioning/ShapeInteractionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class ShapeInteractionController : NSObject, TransitionInteractionController {
7878

7979
/// We register for the gesture to set the touch offset on the selected shape every time
8080
/// that shapeView is touched (might be multiple times during transition).
81-
func gestureStateChanged(_ gestureRecognizer: UIPanGestureRecognizer) {
81+
@objc func gestureStateChanged(_ gestureRecognizer: UIPanGestureRecognizer) {
8282
if gestureRecognizer.state == .began, let transitioningShapeView = transitioningShapeView, let view = gestureRecognizer.view {
8383
let gestureLocationInView = gestureRecognizer.location(in: view)
8484
transitioningShapeView.touchOffset = gestureLocationInView - view.convert(transitioningShapeView.transitioningView.center, from: transitioningShapeView.transitioningView.superview)

Examples/ModalTransitionsExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Transition (1.0.1)
2+
- Transition (1.1.0)
33

44
DEPENDENCIES:
55
- Transition (from `../../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ../../
1010

1111
SPEC CHECKSUMS:
12-
Transition: ab1a745e3b93150eb50c15dd3238995fbf36c503
12+
Transition: 1f9b5445a034df95edcb243f81952b3fda317d72
1313

1414
PODFILE CHECKSUM: bfe56d75f5bc5e03864425b1530d0fa17f87a5e0
1515

Examples/NavigationTransitionsExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Transition (1.0.1)
2+
- Transition (1.1.0)
33

44
DEPENDENCIES:
55
- Transition (from `../../`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
99
:path: ../../
1010

1111
SPEC CHECKSUMS:
12-
Transition: ab1a745e3b93150eb50c15dd3238995fbf36c503
12+
Transition: 1f9b5445a034df95edcb243f81952b3fda317d72
1313

1414
PODFILE CHECKSUM: c86542053e17e87eda5dccfd5d5a1fff31276cd2
1515

Examples/NavigationTransitionsExample/Pods/Local Podspecs/Transition.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/NavigationTransitionsExample/Pods/Manifest.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)