UISwipeGestureRecognizerDirection has been renamed to UISwipeGestureRecognizer.Direction
//4.0 swipeDownGestureRecognizer.direction = UISwipeGestureRecognizerDirection.down
//4.2 swipeDownGestureRecognizer.direction = UISwipeGestureRecognizer.Direction.down
If this helped you, share and pass it on! 😀 ➡️ 🐦