summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
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 {