スワイプの処理 RootViewController にUIGestureRecognier を左右両方向について登録しておく。 - (void)viewDidLoad { [super viewDidLoad]; : UISwipeGestureRecognizer* swipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(didSwipeCell:)]; swipeGesture.direction = UISwipeGestureRecognizerDirectionRight; [self.tableView addGestureRecognizer:swipeGesture]; [swipeGesture release]; swipeGesture = [[UIS
![Cocoaの日々: [iOS] UITableView でセルをスワイプするとスライドするユーザインタフェースを実装](https://cdn-ak-scissors.b.st-hatena.com/image/square/afba1d52632c34433a5861e0a2499428fecaee66/height=288;version=1;width=512/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEi24zK3hi1wcPy09SuZh73kmgmTStcNHLWJG3j-CARA5TbQeIdmb1eFMW_GrrZiDixRqgbOkWRN1SPeAPbL2YwAc2_eFeXiuUI5BDbjZf-xUUtejfV-yvLvjHGXYImooWnNbwWiUFWpgUM_%2Fs1600%2F110628-0010.jpg)