// // UIView+Layer.swift // Gengmei // // Created by wangyang on 2017/6/7. // Copyright © 2017年 更美互动信息科技有限公司. All rights reserved. // import UIKit @objc public extension UIView { func setCornerRadius(_ radisu: CGFloat) { layer.cornerRadius = radisu clipsToBounds = true } }