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

UIView+RuntimeAttributes.m « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2ed646414db791d6f596e2dcc27befb1f9dc2e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
//  UIView+RuntimeAttributes.m
//  Maps
//
//  Created by Ilya Grechuhin on 09.07.15.
//  Copyright (c) 2015 MapsWithMe. All rights reserved.
//

#import "UIColor+MapsMeColor.h"
#import "UIView+RuntimeAttributes.h"

@implementation UIView  (RuntimeAttributes)

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

@end