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

UIButton+RuntimeAttributes.h « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53a7e656472c6c27cf8222d3f4bf51607c167935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import <UIKit/UIKit.h>

@interface UIButton (RuntimeAttributes)

@property(nonatomic) NSString * localizedText;

- (void)setBackgroundColorName:(NSString *)colorName;
- (NSString *)backgroundColorName;
- (void)setBackgroundHighlightedColorName:(NSString *)colorName;
- (NSString *)backgroundHighlightedColorName;
- (void)setBackgroundSelectedColorName:(NSString *)colorName;
- (NSString *)backgroundSelectedColorName;

- (void)setBackgroundColor:(UIColor *)color forState:(UIControlState)state;

@end