Add cellDidDisappear

This commit is contained in:
Roman Efimov
2013-05-09 10:56:57 -05:00
parent e97e9eb4aa
commit d55632857f
3 changed files with 13 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ typedef enum _RETableViewCellType {
- (void)cellDidLoad;
- (void)cellWillAppear;
- (void)cellDidDisappear;
- (void)updateActionBarNavigationControl;
- (UIResponder *)responder;

View File

@@ -90,6 +90,11 @@
}
}
- (void)cellDidDisappear
{
}
- (void)layoutSubviews
{
[super layoutSubviews];

View File

@@ -301,6 +301,13 @@
[_delegate tableView:tableView accessoryButtonTappedForRowWithIndexPath:indexPath item:item];
}
- (void)tableView:(UITableView *)tableView didEndDisplayingCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath*)indexPath
{
if ([cell isKindOfClass:[RETableViewCell class]]) {
[(RETableViewCell *)cell cellDidDisappear];
}
}
#pragma mark -
#pragma mark Managing sections