//
//  GMSearchNavigationView.h
//  Gengmei
//
//  Created by ioszhb on 2019/2/1.
//  Copyright © 2019 更美互动信息科技有限公司. All rights reserved.
//
#import "GMLibraryHeader.h"
@protocol GMSearchNavigationViewDelegate;
@interface GMAISearchNavigationView : GMView
@property (nonatomic, assign) id<GMSearchNavigationViewDelegate> delegate;
@property (nonatomic, assign) BOOL showCancelButton;
@property (nonatomic, strong) UITextField *textField;

- (void)setShowCancelButton:(BOOL)showCancelButton animated:(BOOL)animated;
/**
 *  @brief  重了写该方法，以让搜索栏开始、停止输入
 *
 */
- (BOOL)becomeFirstResponder;
- (BOOL)resignFirstResponder;
@end
@protocol GMSearchNavigationViewDelegate <NSObject>

- (void)searchNavigationCancelButtonClick;
@end
