mailiverse/cpp/iOS/Mailiverse/Components/UIAutoCompleteTableView.h

23 lines
454 B
C
Raw Normal View History

2013-07-25 22:51:23 -04:00
/**
* Author: Timothy Prepscius
* License: BSD + keep my name in the code!
*/
#import <UIKit/UIKit.h>
#include "MMTypes.h"
@protocol UIAutoCompleteDelegate <NSObject>
-(NSArray *) valuesFor:(NSString *)key;
-(void) onSelected:(NSString *)text;
@end
@interface UIAutoCompleteTableView : UITableView <UITableViewDataSource, UITableViewDelegate>
@property (MM_WEAK, nonatomic) id autoCompleteDelegate;
- (void) onKeyChange:(NSString *)key;
@end