text: //
  //  UIView+Extension.h
  //  HQBProject
  //
  //  Created by taolei-mac on 2017/4/18.
  //  Copyright © 2017年 com.zhejiangchain.ios. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  
  @interface UIView (Extension)
  
  @property (nonatomic, assign) CGFloat x;
  @property (nonatomic, assign) CGFloat y;
  @property (nonatomic, assign) CGFloat width;
  @property (nonatomic, assign) CGFloat height;
  @property (nonatomic, assign) CGFloat centerX;
  @property (nonatomic, assign) CGFloat centerY;
  @property (nonatomic, assign) CGSize size;
  
  // 添加阴影
  - (void)setShadow:(CGSize)size shadowOpacity:(CGFloat)opacity shadowRadius:(CGFloat)radius shadowColor:(UIColor *)color;
  
  // 移除所有子视图
  - (void)removeAllSubviews;
  
  @end
  