summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:31:14 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:31:14 -0700
commita9dbe12cff9b5de401da271e92ac72a285227670 (patch)
tree6339cb2e3b653f4874a2b2a6f615c3c012010db3 /UICaboodle
parent9b623dac3e39ca96e0326a7e93d9684b224c1fa1 (diff)
UICaboodle/ResetView and resetViewAnimated: seem to be obsolete.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/BrowserView.h5
-rw-r--r--UICaboodle/BrowserView.mm3
-rw-r--r--UICaboodle/ResetView.h14
-rw-r--r--UICaboodle/ResetView.mm37
4 files changed, 4 insertions, 55 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h
index 3f759ca..d774309 100644
--- a/UICaboodle/BrowserView.h
+++ b/UICaboodle/BrowserView.h
@@ -1,4 +1,7 @@
-#import "ResetView.h"
+#import <UICaboodle/RVPage.h>
+#import <UICaboodle/RVBook.h>
+
+#import <UIKit/UIKit.h>
#include <WebKit/DOMNodeList.h>
#include <WebKit/WebFrame.h>
diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm
index 793678e..9b0c93d 100644
--- a/UICaboodle/BrowserView.mm
+++ b/UICaboodle/BrowserView.mm
@@ -1612,9 +1612,6 @@ static Class $UIWebBrowserView;
[[[[self navigationItem] rightBarButtonItem] view] addSubview:indicator_];
}
-- (void) resetViewAnimated:(BOOL)animated {
-}
-
- (void) setPushed:(bool)pushed {
pushed_ = pushed;
}
diff --git a/UICaboodle/ResetView.h b/UICaboodle/ResetView.h
deleted file mode 100644
index 9f9fafb..0000000
--- a/UICaboodle/ResetView.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#import <UICaboodle/RVPage.h>
-#import <UICaboodle/RVBook.h>
-
-#import <UIKit/UIKit.h>
-
-@interface UIView (RVBook)
-- (void) resetViewAnimated:(BOOL)animated;
-- (void) clearView;
-@end
-
-@interface UITableView (RVBook)
-- (void) resetViewAnimated:(BOOL)animated;
-- (void) clearView;
-@end
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