From d2fa942700e8a899a07b8673f45e511af3437792 Mon Sep 17 00:00:00 2001 From: Matt Reach Date: Fri, 16 Oct 2015 19:30:30 +0800 Subject: [PATCH] post notifi post UITableViewSelectionDidChangeNotification --- SWTableViewCell/PodFiles/SWTableViewCell.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SWTableViewCell/PodFiles/SWTableViewCell.m b/SWTableViewCell/PodFiles/SWTableViewCell.m index 3daceacc..22207f90 100644 --- a/SWTableViewCell/PodFiles/SWTableViewCell.m +++ b/SWTableViewCell/PodFiles/SWTableViewCell.m @@ -438,6 +438,8 @@ - (void)selectCell { [self.containingTableView.delegate tableView:self.containingTableView didSelectRowAtIndexPath:cellIndexPath]; } + // post notifi + [[NSNotificationCenter defaultCenter]postNotificationName:UITableViewSelectionDidChangeNotification object:self.containingTableView]; } } } @@ -461,6 +463,8 @@ - (void)deselectCell { [self.containingTableView.delegate tableView:self.containingTableView didDeselectRowAtIndexPath:cellIndexPath]; } + // post notifi + [[NSNotificationCenter defaultCenter]postNotificationName:UITableViewSelectionDidChangeNotification object:self.containingTableView]; } } }