X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/d210b85d77ea40a096290d32423b3b607fa86c1e..766b71dd4f1e125f68905d928c6735f2346cb5ea:/UICaboodle/ResetView.mm?ds=sidebyside diff --git a/UICaboodle/ResetView.mm b/UICaboodle/ResetView.mm index e0db8315..bd1c8ee8 100644 --- a/UICaboodle/ResetView.mm +++ b/UICaboodle/ResetView.mm @@ -34,6 +34,20 @@ @end +@implementation UITableView (RVBook) + +- (void) resetViewAnimated:(BOOL)animated { + //[self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone]; + if (NSIndexPath *path = [self indexPathForSelectedRow]) + [self deselectRowAtIndexPath:path animated:animated]; +} + +- (void) clearView { + //XXX:[[self table] clearView]; +} + +@end + @implementation UISectionList (RVBook) - (void) resetViewAnimated:(BOOL)animated {