3 #import <UIKit/UIView.h>
7 @
class UINavigationBar
;
8 @
class UITransitionView
;
10 @protocol RVNavigationBarDelegate
14 - (void) setPageActive
:(BOOL
)active with
:(id
)object
;
15 - (void) resetViewAnimated
:(BOOL
)animated with
:(id
)object
;
16 - (void) reloadDataWith
:(id
)object
;
19 @interface RVBook
: UIView
<
20 RVNavigationBarDelegate
22 NSMutableArray
*pages_
;
23 UINavigationBar
*navbar_
;
24 UITransitionView
*transition_
;
26 _transient id delegate_
;
29 - (UINavigationBar
*) navigationBar
;
31 - (id
) initWithFrame
:(CGRect
)frame
;
32 - (void) setDelegate
:(id
)delegate
;
34 - (void) setPage
:(RVPage
*)page
;
36 - (void) pushPage
:(RVPage
*)page
;
37 - (void) popPages
:(unsigned)pages
;
39 - (void) resetViewAnimated
:(BOOL
)animated
;
40 - (void) resetViewAnimated
:(BOOL
)animated toPage
:(RVPage
*)page
;
42 - (void) setBackButtonTitle
:(NSString
*)title forPage
:(RVPage
*)page
;
43 - (void) reloadTitleForPage
:(RVPage
*)page
;
44 - (void) reloadButtonsForPage
:(RVPage
*)page
;
45 - (NSString
*) getTitleForPage
:(RVPage
*)page
;
49 - (CGRect
) pageBounds
;