-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathACChooserViewController.h
38 lines (27 loc) · 1.02 KB
/
ACChooserViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
// ACChooserViewController.h
// ACChooserSample
//
// Created by Jeffrey Rosenbluth on 12/16/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
CGFloat sum_2(CGFloat *a, int n);
@interface ACChooserViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, strong) NSArray *dataArray;
@property (nonatomic, strong) UIColor *cellColor;
@property (nonatomic, strong) UIFont *cellFont;
@property (nonatomic, strong) UIColor *cellTextColor;
@property (nonatomic, strong) UIColor *selectedTextColor;
@property (nonatomic, strong) UIColor *selectedBackgroundColor;
@property (nonatomic, assign) BOOL variableCellWidth;
@property (nonatomic, assign, readonly) int selectedCellIndex;
@property (nonatomic, weak) id delegate;
// the designated intializer
- (id)initWithFrame:(CGRect)frame;
- (void)useGradientWithColor: (UIColor *)color;
@end
@protocol ACchooserDelegate
@optional
- (void)chooserDidSelectCell:(ACChooserViewController *)chooser;
@end