I'm using a UIContainer to switch between views using segmented control + swipe gesture.
My storyboard is like this one.
Override func viewDidLoad() {
super.viewDidLoad()
var swipeRight = UISwipeGestureRecognizer(target: self, action: "respondToSwipeGesture:")
swipeRight.direction = UISwipeGestureRecognizerDirection.Right
self.view.addGestureRecognizer(swipeRight)
}
I tired many open resources for Github but it is written in objective-C? Can anyone help