-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathAutoCompleteView.h
27 lines (18 loc) · 917 Bytes
/
AutoCompleteView.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
#import <UIKit/UIKit.h>
#import "MLPAutoCompleteTextField/MLPAutoCompleteTextField.h"
@class RCTEventDispatcher;
@interface AutoCompleteView : MLPAutoCompleteTextField <UITextFieldDelegate>
@property (nonatomic, copy) NSString *cellComponent;
@property (retain, nonatomic) NSArray *suggestions;
@property (copy) void (^handler)(NSArray *);
@property (nonatomic, assign) BOOL caretHidden;
@property (nonatomic, assign) BOOL autoCorrect;
@property (nonatomic, assign) BOOL selectTextOnFocus;
@property (nonatomic, assign) BOOL blurOnSubmit;
@property (nonatomic, assign) UIEdgeInsets contentInset;
@property (nonatomic, strong) UIColor *placeholderTextColor;
@property (nonatomic, assign) NSInteger mostRecentEventCount;
@property (nonatomic, strong) NSNumber *maxLength;
- (instancetype)initWithEventDispatcher:(RCTEventDispatcher *)eventDispatcher NS_DESIGNATED_INITIALIZER;
- (void)textFieldDidChange;
@end