mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
944 B
Objective-C
28 lines
944 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
#define SEARCH_BAR_DEFAULT_EMPTY_STRING @""
|
|
|
|
@class SearchBarTitleView;
|
|
|
|
@protocol SearchBarTitleViewDelegate <NSObject>
|
|
|
|
- (void)searchBarTitleView:(SearchBarTitleView *)view didSearchForTerm:(NSString *)term;
|
|
- (void)searchBarTitleViewDidEndSearching:(SearchBarTitleView *)view;
|
|
- (void)searchBarTitleViewDidTapMenu:(SearchBarTitleView *)view;
|
|
|
|
@end
|
|
|
|
@interface SearchBarTitleView : UIView <UITextFieldDelegate>
|
|
|
|
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
|
|
@property (nonatomic, strong) IBOutlet UIView *searchBarContainer;
|
|
@property (nonatomic, strong) IBOutlet UITextField *searchTextField;
|
|
@property (nonatomic, strong) IBOutlet UIButton *searchButton;
|
|
@property (nonatomic, strong) IBOutlet UIButton *cancelButton;
|
|
@property (nonatomic, strong) IBOutlet UIButton *menuButton;
|
|
@property (nonatomic, assign) IBOutlet id<SearchBarTitleViewDelegate> delegate;
|
|
|
|
- (void)updateAutoCorrectionType;
|
|
|
|
@end
|