| yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 1 | #import "SkUINavigationController.h" |
| 2 | |
| 3 | @implementation SkUINavigationController |
| 4 | @synthesize fRoot, fDetail; |
| 5 | |
| 6 | - (void)loadData { |
| yangsu@google.com | 2e20c24 | 2011-07-07 19:26:42 +0000 | [diff] [blame^] | 7 | [fRoot initSamples]; |
| yangsu@google.com | 2eff7e2 | 2011-06-24 15:57:30 +0000 | [diff] [blame] | 8 | [fDetail populateRoot:fRoot]; |
| 9 | } |
| 10 | |
| 11 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
| 12 | return YES; //Allow auto rotation for all orientations |
| 13 | } |
| 14 | |
| 15 | - (void)dealloc { |
| 16 | [fRoot release]; |
| 17 | [fDetail release]; |
| 18 | [super dealloc]; |
| 19 | } |
| 20 | |
| 21 | @end |