在UITableViewDelegate 中继承三个方法
func tableView(tableView:UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool
func tableView(tableView:UITableView, editingStyleForRowAtIndexPath indexPath:NSIndexPath) -> UITableViewCellEditingStyle
在UITableViewDelegate 中继承三个方法
func tableView(tableView:UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool
func tableView(tableView:UITableView, editingStyleForRowAtIndexPath indexPath:NSIndexPath) -> UITableViewCellEditingStyle