From 07fcca17fc269044fc849f40510b90fdd64ded9d Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Mon, 21 Aug 2023 17:20:27 -0400 Subject: [PATCH] Remove debug comments --- MVMCoreUI/Managers/SubNav/SubNavInteractor.swift.swift | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/MVMCoreUI/Managers/SubNav/SubNavInteractor.swift.swift b/MVMCoreUI/Managers/SubNav/SubNavInteractor.swift.swift index eb4dcdda..233a1f57 100644 --- a/MVMCoreUI/Managers/SubNav/SubNavInteractor.swift.swift +++ b/MVMCoreUI/Managers/SubNav/SubNavInteractor.swift.swift @@ -90,8 +90,6 @@ fileprivate enum SubNavPanningDirection : Int { switch (pan.state) { case .began: - print("sssss \(#function) began") - // Begin the transition to the next page. panning = true if velocityX < 0 && pannableFrameRight.contains(locationInView) { @@ -119,15 +117,11 @@ fileprivate enum SubNavPanningDirection : Int { shouldCompleteTransition = percentage > 0.65; update(percentage) delegate?.update(percentage: percentage) - print("sssss \(#function) changed \(percentage)") - + case .cancelled: cancel() - print("sssss \(#function) cancelled") - + case .ended: - print("sssss \(#function) ended") - if ((percentage < 0) != (velocityX < 0)) && abs(velocityX) > 50 { // If we are moving back toward the previous view we want to cancel. (the speed threshold is for shaky hands) cancel()