4 #include <objc/runtime.h>
6 @implementation UIView (RVBook)
8 - (void) resetViewAnimated:(BOOL)animated {
9 fprintf(stderr, "%s\n", class_getName(self->isa));
14 fprintf(stderr, "%s\n", class_getName(self->isa));
20 @implementation UITable (RVBook)
22 - (void) resetViewAnimated:(BOOL)animated {
23 [self selectRow:-1 byExtendingSelection:NO withFade:animated];
32 @implementation UISectionList (RVBook)
34 - (void) resetViewAnimated:(BOOL)animated {
35 [[self table] resetViewAnimated:animated];
39 [[self table] clearView];