Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SearchBar.h « Classes « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 38ca0d8fbaace616e16d6a15e746095a32a75f07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#import <UIKit/UIKit.h>
#import "UIKitCategories.h"

@class SearchBar;
@protocol SearchBarDelegate <NSObject>

- (void)searchBarDidPressCancelButton:(SearchBar *)searchBar;
- (void)searchBarDidPressClearButton:(SearchBar *)searchBar;

@end

@interface SearchBar : UIView

@property (nonatomic, readonly) UITextField * textField;
@property (nonatomic, readonly) UIButton * cancelButton;
@property (nonatomic, readonly) UIButton * clearButton;
@property (nonatomic, readonly) SolidTouchView * fieldBackgroundView;

@property (nonatomic, weak) id <SearchBarDelegate> delegate;

- (void)setSearching:(BOOL)searching;

@end