diff --git a/Pod/Classes/SideMenuTransition.swift b/Pod/Classes/SideMenuTransition.swift index 172dc99..1507f0b 100644 --- a/Pod/Classes/SideMenuTransition.swift +++ b/Pod/Classes/SideMenuTransition.swift @@ -89,17 +89,17 @@ open class SideMenuTransition: UIPercentDrivenInteractiveTransition { return viewController } - internal class func handlePresentMenuLeftScreenEdge(_ edge: UIScreenEdgePanGestureRecognizer) { + @objc internal class func handlePresentMenuLeftScreenEdge(_ edge: UIScreenEdgePanGestureRecognizer) { SideMenuTransition.presentDirection = .left handlePresentMenuPan(edge) } - internal class func handlePresentMenuRightScreenEdge(_ edge: UIScreenEdgePanGestureRecognizer) { + @objc internal class func handlePresentMenuRightScreenEdge(_ edge: UIScreenEdgePanGestureRecognizer) { SideMenuTransition.presentDirection = .right handlePresentMenuPan(edge) } - internal class func handlePresentMenuPan(_ pan: UIPanGestureRecognizer) { + @objc internal class func handlePresentMenuPan(_ pan: UIPanGestureRecognizer) { if activeGesture == nil { activeGesture = pan } else if pan != activeGesture { @@ -173,7 +173,7 @@ open class SideMenuTransition: UIPercentDrivenInteractiveTransition { } } - internal class func handleHideMenuPan(_ pan: UIPanGestureRecognizer) { + @objc internal class func handleHideMenuPan(_ pan: UIPanGestureRecognizer) { if activeGesture == nil { activeGesture = pan } else if pan != activeGesture { @@ -210,7 +210,7 @@ open class SideMenuTransition: UIPercentDrivenInteractiveTransition { } } - internal class func handleHideMenuTap(_ tap: UITapGestureRecognizer) { + @objc internal class func handleHideMenuTap(_ tap: UITapGestureRecognizer) { presentingViewControllerForMenu?.dismiss(animated: true, completion: nil) } @@ -365,7 +365,7 @@ open class SideMenuTransition: UIPercentDrivenInteractiveTransition { } } - internal func handleNotification(notification: NSNotification) { + @objc internal func handleNotification(notification: NSNotification) { guard let mainViewController = SideMenuTransition.presentingViewControllerForMenu, let menuViewController = SideMenuTransition.viewControllerForMenu, menuViewController.presentedViewController == nil && menuViewController.presentingViewController != nil else { diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index ce3b21b..4b1d832 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -466,7 +466,7 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -680,7 +680,7 @@ PRODUCT_NAME = SideMenu; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; diff --git a/SideMenu.podspec b/SideMenu.podspec index 15baf53..004c583 100644 --- a/SideMenu.podspec +++ b/SideMenu.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = "SideMenu" - s.version = "2.3.3" + s.version = "2.3.4" s.summary = "Simple side menu control for iOS in Swift inspired by Facebook. Right and Left sides. No coding required." # This description is used to generate tags and improve search results.