1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#import <UIKit/UIKit.h>

@interface PickerView : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource> {
    IBOutlet UIView *pickerView;
    IBOutlet UIPickerView *glassPicker;
    NSArray *glassPickerOptions;
}

@property (strong, nonatomic) IBOutlet UIView *pickerView;
@property (strong, nonatomic) IBOutlet UIPickerView *glassPicker;
@property (nonatomic, retain) NSArray *glassPickerOptions;

- (NSInteger) numberOfComponentsInPickerView:(UIPickerView *)pickerView;
- (NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent:(NSInteger)component;
- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component;

@end