summaryrefslogtreecommitdiff
path: root/UICaboodle
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-26 23:55:33 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:25 -0800
commit6c0ba3d9b2fd8be364554455ed3add48b1241d06 (patch)
tree92bd53b8579e5b4cf79f64f5ffb5bab547004a0f /UICaboodle
parent28e596e4e022e5f11f31f45118bb43d414201672 (diff)
Reloading the world should really just /un/load the world.
Diffstat (limited to 'UICaboodle')
-rw-r--r--UICaboodle/RVPage.h2
-rw-r--r--UICaboodle/RVPage.mm4
2 files changed, 6 insertions, 0 deletions
diff --git a/UICaboodle/RVPage.h b/UICaboodle/RVPage.h
index 68b6283..5dbccfd 100644
--- a/UICaboodle/RVPage.h
+++ b/UICaboodle/RVPage.h
@@ -15,6 +15,8 @@
// but calling the superclass implementation is *required*.
- (void) reloadData;
+- (void) unloadData;
+
// This URL is used to save the state of the view controller. Return
// nil if you cannot or should not save the URL for this page.
- (NSURL *) navigationURL;
diff --git a/UICaboodle/RVPage.mm b/UICaboodle/RVPage.mm
index 1f366c1..d4803f0 100644
--- a/UICaboodle/RVPage.mm
+++ b/UICaboodle/RVPage.mm
@@ -59,6 +59,10 @@ extern bool IsWildcat_;
loaded_ = YES;
}
+- (void) unloadData {
+ loaded_ = NO;
+}
+
- (NSURL *) navigationURL {
return nil;
}