blob: d99f8cd5573185743a66b2e00d61a9c02bf9eeb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
//
// MuChoiceFieldController.h
// MuPDF
//
// Copyright (c) 2013 Artifex Software, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MuChoiceFieldController : UIViewController<UIPickerViewDataSource, UIPickerViewDelegate>
{
void (^okayBlock)(NSArray *);
NSArray *choices;
int selected;
}
@property (retain, nonatomic) IBOutlet UIPickerView *picker;
- (id)initWithChoices:(NSArray *)choices okayAction:(void (^)(NSArray *))block;
- (IBAction)okayTapped:(id)sender;
- (IBAction)cancelTapped:(id)sender;
@end
|