summaryrefslogtreecommitdiff
path: root/UICaboodle/RVBook.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-08-12 13:51:13 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:17 +0000
commita954357579aa1fc2d03610d97d30a09156af7276 (patch)
tree159d1391350a992fe25b015e8330e6401fb56a78 /UICaboodle/RVBook.mm
parent25a2158d9d2f51732843c7deb1835537d28b1ccd (diff)
Some minor header file changes.
Diffstat (limited to 'UICaboodle/RVBook.mm')
-rw-r--r--UICaboodle/RVBook.mm18
1 files changed, 10 insertions, 8 deletions
diff --git a/UICaboodle/RVBook.mm b/UICaboodle/RVBook.mm
index d83d760..9315cae 100644
--- a/UICaboodle/RVBook.mm
+++ b/UICaboodle/RVBook.mm
@@ -8,6 +8,14 @@
#import <UIKit/UIView-Geometry.h>
#import <UIKit/UIView-Hierarchy.h>
+#import <Foundation/Foundation.h>
+#import <CoreGraphics/CGGeometry.h>
+
+#include <cstdio>
+#include <cstdlib>
+
+#include <errno.h>
+
#import "RVPage.h"
@implementation RVBook
@@ -102,10 +110,7 @@
[pages_ addObject:page];
[self reloadButtonsForPage:page];
- if ([navbar_ respondsToSelector:@selector(setAccessoryView:animate:goingBack:)])
- [navbar_ setAccessoryView:[page accessoryView] animate:animated goingBack:NO];
- else
- [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
+ [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
}
- (void) popPages:(unsigned)pages {
@@ -149,10 +154,7 @@
[page setPageActive:YES];
[self reloadButtonsForPage:page];
- if ([navbar_ respondsToSelector:@selector(setAccessoryView:animate:goingBack:)])
- [navbar_ setAccessoryView:[page accessoryView] animate:animated goingBack:YES];
- else
- [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
+ [navbar_ setAccessoryView:[page accessoryView] animate:animated removeOnPop:NO];
}
- (void) setTitle:(NSString *)title forPage:(RVPage *)page {