]> git.saurik.com Git - cydia.git/blob - UICaboodle/RVPage.h
5dbccfdb2cd9b335fc032f74d3eb9d209f4ba87a
[cydia.git] / UICaboodle / RVPage.h
1 #import <UICaboodle/UCPlatform.h>
2
3 #import <UIKit/UIKit.h>
4
5 @interface UIViewController (Cydia)
6 - (BOOL) hasLoaded;
7 @end
8
9 @interface CYViewController : UIViewController {
10 _transient id delegate_;
11 BOOL loaded_;
12 }
13
14 // The default implementation of this method is essentially a no-op,
15 // but calling the superclass implementation is *required*.
16 - (void) reloadData;
17
18 - (void) unloadData;
19
20 // This URL is used to save the state of the view controller. Return
21 // nil if you cannot or should not save the URL for this page.
22 - (NSURL *) navigationURL;
23
24 // By default, this delegate is unused. However, it's provided here in case
25 // you need some kind of delegate in a subclass.
26 - (void) setDelegate:(id)delegate;
27 - (id) delegate;
28
29 // Override this in subclasses if you manage the "has seen first load" state yourself.
30 - (BOOL) hasLoaded;
31
32 // This is called when the view managed by the view controller is released.
33 // That is not always when the controller itself is released: it also can
34 // happen when more memory is needed by the system or whenever the controller
35 // just happens not to be visible.
36 - (void) releaseSubviews;
37
38 @end