ios - didSelectRowAtIndexPath not called in subclassed UITableView -


i have subclassed uitableview can detect when 3d touch gestures performed anywhere on view. works great, didselectrowforindexpath never called.

here subclass:

protocol passtouchestableviewdelegate {     func touchmoved(touches: set<uitouch>)     func touchended(touches: set<uitouch>) }  class passtouchestableview: uitableview {     var delegatepass: passtouchestableviewdelegate?      override func touchesmoved(touches: set<uitouch>, withevent event: uievent?) {         self.delegatepass?.touchmoved(touches)     }      override func touchesended(touches: set<uitouch>, withevent event: uievent?) {         self.delegatepass?.touchended(touches)     } } 

can suggest how can didselectrowatindexpath working again?


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -