//
//  MyAutocompleteItemsSource.h
//  testautocomplete
//
//  Created by Ray on 14-4-29.
//  Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "TRAutocompleteItemsSource.h"
@interface MyAutocompleteItemsSource : NSObject//<TRAutocompleteItemsSource>
- (id)initWithMinimumCharactersToTrigger:(NSUInteger)minimumCharactersToTrigger source:(NSArray*) predictions;
//- (id)initWithMinimumCharactersToTrigger:(NSUInteger)minimumCharactersToTrigger
- (NSUInteger)minimumCharactersToTrigger;
- (void)itemsFor:(NSString *)query whenReady:(void (^)(NSArray *))suggestionsReady;
-(void) put_predictions:(NSArray*)predictions;
@property (strong,nonatomic) NSArray* predictions;
@end
