]>
Commit | Line | Data |
---|---|---|
7e9a36b6 JF |
1 | #import "UICaboodle.h" |
2 | ||
3 | #import <UIKit/UIView.h> | |
4 | ||
5 | @class NSMutableArray; | |
6 | @class RVPage; | |
7 | @class UINavigationBar; | |
8 | @class UITransitionView; | |
9 | ||
22f8bed9 JF |
10 | @protocol RVNavigationBarDelegate |
11 | @end | |
12 | ||
7e9a36b6 JF |
13 | @protocol RVDelegate |
14 | - (void) setPageActive:(BOOL)active with:(id)object; | |
15 | - (void) resetViewAnimated:(BOOL)animated with:(id)object; | |
16 | - (void) reloadDataWith:(id)object; | |
17 | @end | |
18 | ||
22f8bed9 JF |
19 | @interface RVBook : UIView < |
20 | RVNavigationBarDelegate | |
21 | > { | |
7e9a36b6 JF |
22 | NSMutableArray *pages_; |
23 | UINavigationBar *navbar_; | |
24 | UITransitionView *transition_; | |
25 | BOOL resetting_; | |
26 | _transient id delegate_; | |
27 | } | |
28 | ||
facbc56d JF |
29 | - (UINavigationBar *) navigationBar; |
30 | ||
7e9a36b6 JF |
31 | - (id) initWithFrame:(CGRect)frame; |
32 | - (void) setDelegate:(id)delegate; | |
33 | ||
34 | - (void) setPage:(RVPage *)page; | |
35 | ||
36 | - (void) pushPage:(RVPage *)page; | |
37 | - (void) popPages:(unsigned)pages; | |
38 | ||
7e9a36b6 JF |
39 | - (void) resetViewAnimated:(BOOL)animated; |
40 | - (void) resetViewAnimated:(BOOL)animated toPage:(RVPage *)page; | |
41 | ||
7e9a36b6 | 42 | - (void) setBackButtonTitle:(NSString *)title forPage:(RVPage *)page; |
3160e5f0 | 43 | - (void) reloadTitleForPage:(RVPage *)page; |
7e9a36b6 JF |
44 | - (void) reloadButtonsForPage:(RVPage *)page; |
45 | - (NSString *) getTitleForPage:(RVPage *)page; | |
46 | ||
47 | - (void) reloadData; | |
48 | ||
49 | - (CGRect) pageBounds; | |
50 | ||
51 | @end |