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