diff --git a/React/Base/RCTUIKit.h b/React/Base/RCTUIKit.h index 0a3e8e9a99d952..f4192078cab878 100644 --- a/React/Base/RCTUIKit.h +++ b/React/Base/RCTUIKit.h @@ -394,8 +394,8 @@ CGPathRef UIBezierPathCreateCGPathRef(UIBezierPath *path); - (void)setNeedsDisplay; -// An override of an undocumented API that controls the layer's masksToBounds property -@property (nonatomic) BOOL clipsToBounds; +// FUTURE: When Xcode 14 is no longer supported (CI is building with Xcode 15), we can remove this override since it's now declared on NSView +@property BOOL clipsToBounds; @property (nonatomic, copy) NSColor *backgroundColor; @property (nonatomic) CGAffineTransform transform; @@ -589,7 +589,8 @@ typedef UIImageView RCTUIImageView; #else @interface RCTUIImageView : NSImageView NS_ASSUME_NONNULL_BEGIN -@property (nonatomic, assign) BOOL clipsToBounds; +// FUTURE: When Xcode 14 is no longer supported (CI is building with Xcode 15), we can remove this override since it's now declared on NSView +@property (assign) BOOL clipsToBounds; @property (nonatomic, strong) RCTUIColor *tintColor; @property (nonatomic, assign) UIViewContentMode contentMode; NS_ASSUME_NONNULL_END