My question is similar to a bunch of questions on stackoverflow (eg. swipe to delete in a UITableView which is embeded in a UIScrollView) I need to implement a swipe action on a table view cell for a tableview controller which is a custom view embedded in a scrollview. However, the swipe events are not working properly and I understand the problem is that the UIScrollView is eating up the events for the UITableView so I tried out a bunch of options.
1) I subclassed the UIScrollView with the touchesBegan, touchesEnd etc methods but they never seem to get hit.
2) I could get hits on scrollViewWillBeginDragging but I am not sure how to call the responder for the UITableViewController from this.
3) I implemented a gesture recognizer in the tableviewcontroller class but that also didn't help.
I am confused as to how to go about so some code in Swift 3 syntax would be really helpful.