猎豆优选

UIView+CCShadow.h 447B

123456789101112131415161718192021
  1. //
  2. // UIView+CCShadow.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/11/20.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UIView (CCShadow)
  11. - (void)addShadowWithOpacity:(float)shadowOpacity
  12. shadowRadius:(CGFloat)shadowRadius
  13. andCornerRadius:(CGFloat)cornerRadius
  14. andShadowColor:(UIColor *)color;
  15. @end
  16. NS_ASSUME_NONNULL_END