summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-28 05:55:49 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:27 -0800
commit15f0d6136bbba5eb090b2614f08516083484093b (patch)
tree5dcdacdb5422457b29e7b24febcd86f9f81a4163 /UICaboodle
parent86916d7b35e413f50d64df0943d31b7c810fc58f (diff)
Replace CYNavigationController with a category.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/RVPage.h2
-rw-r--r--UICaboodle/RVPage.mm9
2 files changed, 11 insertions, 0 deletions
diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h
index 5dbccfd..be2331d 100644
--- a/UICaboodle/RVPage.h
+++ b/UICaboodle/RVPage.h
@@ -4,6 +4,8 @@
@interface UIViewController (Cydia)
- (BOOL) hasLoaded;
+- (void) reloadData;
+- (void) unloadData;
@end
@interface CYViewController : UIViewController {
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index d4803f0..8d6ea82 100644
--- a/UICaboodle/RVPage.mm
+++ b/UICaboodle/RVPage.mm
@@ -13,6 +13,12 @@ extern bool IsWildcat_;
return YES;
}
+- (void) reloadData {
+}
+
+- (void) unloadData {
+}
+
@end
@implementation CYViewController
@@ -52,6 +58,8 @@ extern bool IsWildcat_;
}
- (void) reloadData {
+ [super reloadData];
+
// This is called automatically on the first appearance of a controller,
// or any other time it needs to reload the information shown. However (!),
// this is not called by any tab bar or navigation controller's -reloadData
@@ -61,6 +69,7 @@ extern bool IsWildcat_;
- (void) unloadData {
loaded_ = NO;
+ [super unloadData];
}
- (NSURL *) navigationURL {