UIView+Voice.h 559 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // UIView+Voice.h
  3. // UniversalApp
  4. //
  5. // Created by bogokj on 2019/12/16.
  6. // Copyright © 2019 voidcat. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. #define kTopCornerRadius 11
  11. @interface UIView (Voice)
  12. - (void)addRoundedCorners:(UIRectCorner)corners
  13. withRadii:(CGSize)radii
  14. viewRect:(CGRect)rect;
  15. - (void)addRoundedCorners:(UIRectCorner)corners
  16. withRadii:(CGSize)radii;
  17. - (void)addAppTopCornerRadius;
  18. - (void)addTopCornerRadius:(CGFloat)TopRadius;
  19. @end
  20. NS_ASSUME_NONNULL_END