mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-18 23:15:03 -05:00
23 lines
454 B
Objective-C
23 lines
454 B
Objective-C
/**
|
|
* 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
|