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 UISectionList (RVBook)
39 - (void) resetViewAnimated:(BOOL)animated {
40 [[self table] resetViewAnimated:animated];
44 [[self table] clearView];