mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
40 lines
1.1 KiB
Objective-C
40 lines
1.1 KiB
Objective-C
#import <UIKit/UIKit.h>
|
|
#import "ReactNativeVersionExtracted.h"
|
|
|
|
#if REACT_NATIVE_VERSION_MAJOR == 0 && REACT_NATIVE_VERSION_MINOR < 79
|
|
#if __has_include(<React-RCTAppDelegate/RCTAppDelegate.h>)
|
|
#import <React-RCTAppDelegate/RCTAppDelegate.h>
|
|
#elif __has_include(<React_RCTAppDelegate/RCTAppDelegate.h>)
|
|
#import <React_RCTAppDelegate/RCTAppDelegate.h>
|
|
#endif
|
|
#else
|
|
#import <React/RCTBridge.h>
|
|
#import <React-RCTAppDelegate/RCTReactNativeFactory.h>
|
|
#endif
|
|
|
|
@class ReactNativeDelegate;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
NS_SWIFT_NAME(AppDelegate)
|
|
|
|
#if REACT_NATIVE_VERSION_MAJOR == 0 && REACT_NATIVE_VERSION_MINOR < 79
|
|
@interface AppDelegate : RCTAppDelegate
|
|
#else
|
|
@interface AppDelegate : UIResponder <UIApplicationDelegate>
|
|
#endif
|
|
|
|
@property (nonatomic, strong) id screenManager;
|
|
|
|
#if REACT_NATIVE_VERSION_MAJOR == 0 && REACT_NATIVE_VERSION_MINOR >= 79
|
|
@property (nonatomic, strong) UIWindow *window;
|
|
@property (nonatomic, strong) ReactNativeDelegate *reactNativeDelegate;
|
|
@property (nonatomic, strong) RCTReactNativeFactory *reactNativeFactory;
|
|
#endif
|
|
|
|
- (void)showOverlayMessageWithMessage:(NSString *)message;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|