summaryrefslogtreecommitdiff
path: root/UICaboodle/RVPage.mm
blob: 4a8ea5de01e40ce518a7edc06b0c8fa37d5e85d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import "RVPage.h"

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import "RVBook.h"

@implementation CYViewController
- (void)setDelegate:(id)delegate {
    delegate_ = delegate;
}
- (void) reloadData {
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation {
    if ([self parentViewController]) {
        return [[self parentViewController] shouldAutorotateToInterfaceOrientation:orientation];
    } else {
        return [super shouldAutorotateToInterfaceOrientation:orientation];
    }
}
@end