mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c78babac39
Summary: Some files relying on -include_pch and therefore they miss Foundation.h and UIKit.h includes. This diff is fixing missing imports Reviewed By: rmaz Differential Revision: D37140239 fbshipit-source-id: bc57921e0c8365e0e9a5a571d607ba40ff1b31f3
24 lines
569 B
Objective-C
24 lines
569 B
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <QuartzCore/QuartzCore.h>
|
|
|
|
@protocol RCTDisplayRefreshable
|
|
|
|
- (void)displayDidRefresh:(CADisplayLink *)displayLink;
|
|
|
|
@end
|
|
|
|
@interface RCTDisplayWeakRefreshable : NSObject
|
|
|
|
@property (nonatomic, weak) id<RCTDisplayRefreshable> refreshable;
|
|
|
|
+ (CADisplayLink *)displayLinkWithWeakRefreshable:(id<RCTDisplayRefreshable>)refreshable;
|
|
|
|
@end
|