         let degreeY = location.y - previousLocation.y
 
         switch gestureRecognizer.state {
-        case UIGestureRecognizerState.began:
+        case .began:
             
             originalLocation = view.frame.origin
             break


            break

        case UIGestureRecognizerState.ended :
            
            if fullScreenSwipeUp &&  originalLocation.y - view.frame.minY > minDeltaUpSwipe {
                


        default:
            break
           
        }
        
        previousLocation = location
