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
;
27 @interface RVBook
: UIView
<
28 RVNavigationBarDelegate
30 NSMutableArray
*pages_
;
31 UINavigationBar
*navbar_
;
32 UITransitionView
*transition_
;
34 _transient id delegate_
;
38 - (UINavigationBar
*) navigationBar
;
40 - (id
) initWithFrame
:(CGRect
)frame
;
41 - (void) setDelegate
:(id
)delegate
;
43 - (void) setPage
:(RVPage
*)page
;
45 - (void) pushPage
:(RVPage
*)page
;
46 - (void) popPages
:(unsigned)pages
;
48 - (void) pushBook
:(RVBook
*)book
;
50 - (void) resetViewAnimated
:(BOOL
)animated
;
51 - (void) resetViewAnimated
:(BOOL
)animated toPage
:(RVPage
*)page
;
53 - (void) setBackButtonTitle
:(NSString
*)title forPage
:(RVPage
*)page
;
54 - (void) reloadTitleForPage
:(RVPage
*)page
;
55 - (void) reloadButtonsForPage
:(RVPage
*)page
;
56 - (NSString
*) getTitleForPage
:(RVPage
*)page
;
60 - (CGRect
) pageBounds
;
65 @interface RVPopUpBook
: RVBook
{
66 _transient RVBook
*parent_
;