4 #include <objc/runtime.h>
11 @implementation UIView (RVBook)
13 - (void) resetViewAnimated:(BOOL)animated {
14 fprintf(stderr, "%s\n", class_getName(self->isa));
19 fprintf(stderr, "%s\n", class_getName(self->isa));
25 @implementation UITable (RVBook)
27 - (void) resetViewAnimated:(BOOL)animated {
28 [self selectRow:-1 byExtendingSelection:NO withFade:animated];
37 @implementation UITableView (RVBook)
39 - (void) resetViewAnimated:(BOOL)animated {
40 [self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone];
44 //XXX:[[self table] clearView];
49 @implementation UISectionList (RVBook)
51 - (void) resetViewAnimated:(BOOL)animated {
52 [[self table] resetViewAnimated:animated];
56 [[self table] clearView];