summaryrefslogtreecommitdiff
path: root/UICaboodle/ResetView.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-06-30 19:51:29 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:58 +0000
commit1fd88570a688d703f748c32f0fba4eeb813ccd56 (patch)
treedd5c220c1293fccc6363279960df2f3138e32d17 /UICaboodle/ResetView.mm
parent1e9e6c9468373d9aec4f6b481f66ed73f15e492a (diff)
Add UITableView support to ResetView.
Diffstat (limited to 'UICaboodle/ResetView.mm')
-rw-r--r--UICaboodle/ResetView.mm12
1 files changed, 12 insertions, 0 deletions
diff --git a/UICaboodle/ResetView.mm b/UICaboodle/ResetView.mm
index e0db831..4265be4 100644
--- a/UICaboodle/ResetView.mm
+++ b/UICaboodle/ResetView.mm
@@ -34,6 +34,18 @@
@end
+@implementation UITableView (RVBook)
+
+- (void) resetViewAnimated:(BOOL)animated {
+ [self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone];
+}
+
+- (void) clearView {
+ //XXX:[[self table] clearView];
+}
+
+@end
+
@implementation UISectionList (RVBook)
- (void) resetViewAnimated:(BOOL)animated {