//
//  UIView+Corners.m
//  Palmwms
//
//  Created by 曹云霄 on 16/8/24.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "UIView+Corners.h"

@implementation UIView (Corners)


- (void)addCorners
{
    self.layer.cornerRadius = 4.0f;
    self.layer.masksToBounds = YES;
}


- (void)addLines
{
    self.layer.borderWidth = 1.0f;
    self.layer.borderColor = RGBA(222, 222, 222, 1).CGColor;
}

@end
