diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-08-12 13:51:13 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:17 +0000 |
commit | a954357579aa1fc2d03610d97d30a09156af7276 (patch) | |
tree | 159d1391350a992fe25b015e8330e6401fb56a78 /UICaboodle | |
parent | 25a2158d9d2f51732843c7deb1835537d28b1ccd (diff) |
Some minor header file changes.
Diffstat (limited to 'UICaboodle')
-rw-r--r-- | UICaboodle/BrowserView.h | 2 | ||||
-rw-r--r-- | UICaboodle/RVBook.mm | 18 | ||||
-rw-r--r-- | UICaboodle/ResetView.h | 3 | ||||
-rw-r--r-- | UICaboodle/ResetView.mm | 5 |
4 files changed, 19 insertions, 9 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index c9a1f7d..7c6cc50 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -9,6 +9,8 @@ @class UIScroller; @class UIWebView; +@class WebView; + @class Database; @interface BrowserView : RVPage { 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 { diff --git a/UICaboodle/ResetView.h b/UICaboodle/ResetView.h index 903bec0..c4eb3f7 100644 --- a/UICaboodle/ResetView.h +++ b/UICaboodle/ResetView.h @@ -1,7 +1,8 @@ #import <RVPage.h> #import <RVBook.h> -#import <UIKit/UIKit.h> +#import <UIKit/UISectionList.h> +#import <UIKit/UITable.h> @interface UIView (RVBook) - (void) resetViewAnimated:(BOOL)animated; diff --git a/UICaboodle/ResetView.mm b/UICaboodle/ResetView.mm index 8c0041a..e0db831 100644 --- a/UICaboodle/ResetView.mm +++ b/UICaboodle/ResetView.mm @@ -3,6 +3,11 @@ #include <objc/objc.h> #include <objc/runtime.h> +#include <errno.h> + +#include <cstdio> +#include <cstdlib> + @implementation UIView (RVBook) - (void) resetViewAnimated:(BOOL)animated { |