// // FLEXKeyPathSearchController.h // FLEX // // Created by Tanner on 3/23/17. // Copyright © 2017 Tanner Bennett. All rights reserved. // #import #import "FLEXRuntimeBrowserToolbar.h" #import "FLEXMethod.h" @protocol FLEXKeyPathSearchControllerDelegate @property (nonatomic, readonly) UITableView *tableView; @property (nonatomic, readonly) UISearchController *searchController; /// For loaded images which don't have an NSBundle - (void)didSelectImagePath:(NSString *)message shortName:(NSString *)shortName; - (void)didSelectBundle:(NSBundle *)bundle; - (void)didSelectClass:(Class)cls; @end @interface FLEXKeyPathSearchController : NSObject + (instancetype)delegate:(id)delegate; @property (nonatomic) FLEXRuntimeBrowserToolbar *toolbar; /// Suggestions for the toolbar @property (nonatomic, readonly) NSArray *suggestions; - (void)didSelectKeyPathOption:(NSString *)text; - (void)didPressButton:(NSString *)text insertInto:(UISearchBar *)searchBar; @end