Sin descripción

FKExploreKeywordController.h 787B

1234567891011121314151617181920212223242526272829
  1. //
  2. // FKExploreKeywordController.h
  3. // FirstLink
  4. //
  5. // Created by ascii on 16/3/11.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import "FLViewController.h"
  9. #import "FKExploreConditionItem.h"
  10. typedef NS_ENUM(NSInteger, FKExploreControllerType) {
  11. FKExploreControllerTypeLocalKeyword = 0,
  12. FKExploreControllerTypeLocalBrand,
  13. FKExploreControllerTypeRemoteKeyword
  14. };
  15. typedef void (^FKExecuteSearchHandler)(FKExploreConditionType type, NSString *itemID, NSString *value);
  16. @interface FKExploreKeywordController : UIViewController
  17. @property (nonatomic, copy) FKExecuteSearchHandler executeSearchHandler;
  18. - (instancetype)initWithKeyword:(NSString *)keyword type:(FKExploreControllerType)controllerType;
  19. - (NSInteger)updateLocalBrands:(NSArray *)brands;
  20. @end