3 #import <UIKit/UIKit.h>
8 @
class UINavigationBar
;
9 @
class UITransitionView
;
11 @interface
UIView (PopUpView
)
12 - (void) popFromSuperviewAnimated
:(BOOL
)animated
;
13 - (void) popSubview
:(UIView
*)view
;
16 @protocol RVNavigationBarDelegate
20 - (void) setPageActive
:(BOOL
)active with
:(id
)object
;
21 - (void) resetViewAnimated
:(BOOL
)animated with
:(id
)object
;
22 - (void) reloadDataWith
:(id
)object
;
23 - (void) popUpBook
:(RVBook
*)book
;
24 - (CGRect
) popUpBounds
;
28 - (void) didCloseBook
:(RVBook
*)book
;
31 @interface RVBook
: UIView
<
32 RVNavigationBarDelegate
34 NSMutableArray
*pages_
;
35 UINavigationBar
*navbar_
;
36 UITransitionView
*transition_
;
38 _transient id delegate_
;
43 - (UINavigationBar
*) navigationBar
;
45 - (id
) initWithFrame
:(CGRect
)frame
;
46 - (void) setDelegate
:(id
)delegate
;
47 - (void) setHook
:(id
)hook
;
49 - (void) setPage
:(RVPage
*)page
;
51 - (void) swapPage
:(RVPage
*)page
;
52 - (void) pushPage
:(RVPage
*)page animated
:(BOOL
)animated
;
53 - (void) pushPage
:(RVPage
*)page
;
54 - (void) popPages
:(unsigned)pages
;
56 - (void) pushBook
:(RVBook
*)book
;
58 - (void) resetViewAnimated
:(BOOL
)animated
;
59 - (void) resetViewAnimated
:(BOOL
)animated toPage
:(RVPage
*)page
;
61 - (void) setBackButtonTitle
:(NSString
*)title forPage
:(RVPage
*)page
;
62 - (void) reloadTitleForPage
:(RVPage
*)page
;
63 - (void) reloadButtonsForPage
:(RVPage
*)page
;
64 - (NSString
*) getTitleForPage
:(RVPage
*)page
;
68 - (CGRect
) pageBounds
;
73 @interface RVPopUpBook
: RVBook
{
74 _transient RVBook
*parent_
;