aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp/Shared/SkOptionListController.h
diff options
context:
space:
mode:
authorGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-02 13:20:22 +0000
committerGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-02 13:20:22 +0000
commit5987045388920e5830e7c141c8bfe4205ef6ebf3 (patch)
tree2b72e77f48fd3cf5142fbce2505c6a202c00a5b2 /experimental/iOSSampleApp/Shared/SkOptionListController.h
parentb3d5bc1059d2b35d4d9148f50611a0455b403772 (diff)
iOS Sample App menu implementation
Diffstat (limited to 'experimental/iOSSampleApp/Shared/SkOptionListController.h')
-rw-r--r--experimental/iOSSampleApp/Shared/SkOptionListController.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/experimental/iOSSampleApp/Shared/SkOptionListController.h b/experimental/iOSSampleApp/Shared/SkOptionListController.h
new file mode 100644
index 0000000000..480579af1f
--- /dev/null
+++ b/experimental/iOSSampleApp/Shared/SkOptionListController.h
@@ -0,0 +1,16 @@
+#import <UIKit/UIKit.h>
+
+@interface SkOptionListController : UITableViewController {
+ NSMutableArray* fOptions;
+ NSInteger fSelectedIndex;
+ UITableViewCell* fSelectedCell;
+ UITableViewCell* fParentCell;
+}
+@property (nonatomic, retain) NSMutableArray* fOptions;
+@property (nonatomic, assign) NSInteger fSelectedIndex;
+@property (nonatomic, retain) UITableViewCell* fSelectedCell;
+@property (nonatomic, retain) UITableViewCell* fParentCell;
+
+- (void)addOption:(NSString*)option;
+- (NSString*)getSelectedOption;
+@end