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 UITableView (RVBook)
27 - (void) resetViewAnimated:(BOOL)animated {
28 //[self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone];
29 if (NSIndexPath *path = [self indexPathForSelectedRow])
30 [self deselectRowAtIndexPath:path animated:animated];
34 //XXX:[[self table] clearView];