Permalink
Browse files

Convert to latest swift3 syntax

  • Loading branch information...
lkzhao committed Sep 16, 2016
1 parent 95e84c6 commit e15312e6a0d33b3ac36a9677a35672a447ecc325
@@ -114,7 +114,6 @@ public class EdgePanTransition: NSObject, UIViewControllerAnimatedTransitioning,
if transitioning {
return
}
print("!!! Elastic Transition started presenting:\(presenting)")
resetTimeout()
interactive = true
currentPanGR = pan
@@ -27,7 +27,7 @@
import UIKit
import MotionAnimation
@objc public enum ElasticTransitionBackgroundTransform:Int{
public enum ElasticTransitionBackgroundTransform:Int{
case none, rotate, translateMid, translatePull, translatePush, subtle
}
@@ -14,8 +14,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
MotionAnimator.sharedInstance.debugEnabled = true
return true
View
@@ -12,7 +12,7 @@ EXTERNAL SOURCES:
CHECKOUT OPTIONS:
MotionAnimation:
:commit: f63e3f42c500f0bcb4568302d1a7bc2f342e45d7
:commit: dd81eab887d43917602b2c58f4801a7c45519777
:git: https://github.com/lkzhao/MotionAnimation.git
SPEC CHECKSUMS:
View
Binary file not shown.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

0 comments on commit e15312e

Please sign in to comment.