mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-12 09:08:59 +08:00
Add cellDidDisappear
This commit is contained in:
@@ -56,6 +56,7 @@ typedef enum _RETableViewCellType {
|
||||
|
||||
- (void)cellDidLoad;
|
||||
- (void)cellWillAppear;
|
||||
- (void)cellDidDisappear;
|
||||
- (void)updateActionBarNavigationControl;
|
||||
|
||||
- (UIResponder *)responder;
|
||||
|
||||
@@ -90,6 +90,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)cellDidDisappear
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
- (void)layoutSubviews
|
||||
{
|
||||
[super layoutSubviews];
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user