follow this guide:http://www.raywenderlich.com/77974/making-a-gesture-driven-to-do-list-app-like-clear-in-swift-part-1 What do I learnt from this guide: How to customize a TableViewCell How to activate gestures of pan