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

UISwitch+RuntimeAttributes.m « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3e7fccd12fe7fcf5ae4cdedb0075d40b8637fda (plain)
1
2
3
4
5
6
7
8
9
10
11
#import "UISwitch+RuntimeAttributes.h"
#import "UIColor+MapsMeColor.h"

@implementation UISwitch (RuntimeAttributes)

- (void)setOnTintColorName:(NSString *)colorName
{
  self.onTintColor = [UIColor colorWithName:colorName];
}

@end