diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-06 19:31:14 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-06 19:31:14 -0700 |
commit | a9dbe12cff9b5de401da271e92ac72a285227670 (patch) | |
tree | 6339cb2e3b653f4874a2b2a6f615c3c012010db3 /UICaboodle/ResetView.mm | |
parent | 9b623dac3e39ca96e0326a7e93d9684b224c1fa1 (diff) |
UICaboodle/ResetView and resetViewAnimated: seem to be obsolete.
Diffstat (limited to 'UICaboodle/ResetView.mm')
-rw-r--r-- | UICaboodle/ResetView.mm | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/UICaboodle/ResetView.mm b/UICaboodle/ResetView.mm deleted file mode 100644 index ffdb043..0000000 --- a/UICaboodle/ResetView.mm +++ /dev/null @@ -1,37 +0,0 @@ -#import "ResetView.h" - -#include <objc/objc.h> -#include <objc/runtime.h> - -#include <errno.h> - -#include <cstdio> -#include <cstdlib> - -@implementation UIView (RVBook) - -- (void) resetViewAnimated:(BOOL)animated { - fprintf(stderr, "%s\n", class_getName(self->isa)); - _assert(false); -} - -- (void) clearView { - fprintf(stderr, "%s\n", class_getName(self->isa)); - _assert(false); -} - -@end - -@implementation UITableView (RVBook) - -- (void) resetViewAnimated:(BOOL)animated { - //[self selectRowAtIndexPath:nil animated:animated scrollPosition:UITableViewScrollPositionNone]; - if (NSIndexPath *path = [self indexPathForSelectedRow]) - [self deselectRowAtIndexPath:path animated:animated]; -} - -- (void) clearView { - //XXX:[[self table] clearView]; -} - -@end |