diff options
Diffstat (limited to 'platform/ios/Classes/MuTextFieldController.h')
-rw-r--r-- | platform/ios/Classes/MuTextFieldController.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/ios/Classes/MuTextFieldController.h b/platform/ios/Classes/MuTextFieldController.h new file mode 100644 index 00000000..f74f0610 --- /dev/null +++ b/platform/ios/Classes/MuTextFieldController.h @@ -0,0 +1,19 @@ +// +// MuTextFieldController.h +// MuPDF +// +// Copyright (c) 2013 Artifex Software, Inc. All rights reserved. +// + +#import <UIKit/UIKit.h> + +@interface MuTextFieldController : UIViewController +{ + void (^okayBlock)(NSString *); + NSString *initialText; +} +@property (retain, nonatomic) IBOutlet UITextView *textView; +- (id)initWithText:(NSString *)text okayAction:(void (^)(NSString *))block; +- (IBAction)okayTapped:(id)sender; +- (IBAction)cancelTapped:(id)sender; +@end |