File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#import < React/RCTBridgeModule.h>
22#import < React/RCTRootView.h>
33
4+ typedef enum {
5+ RNBootSplashTaskTypeShow = 0 ,
6+ RNBootSplashTaskTypeHide = 1
7+ } RNBootSplashTaskType;
8+
9+ typedef enum {
10+ RNBootSplashStatusVisible = 0 ,
11+ RNBootSplashStatusHidden = 1 ,
12+ RNBootSplashStatusTransitioning = 2 ,
13+ } RNBootSplashStatus;
14+
15+ @interface RNBootSplashTask : NSObject
16+
17+ @property (nonatomic , readonly ) RNBootSplashTaskType type;
18+ @property (nonatomic , readonly ) BOOL fade;
19+ @property (nonatomic , readonly , strong ) RCTPromiseResolveBlock _Nonnull resolve;
20+ @property (nonatomic , readonly , strong ) RCTPromiseRejectBlock _Nonnull reject;
21+
22+ - (instancetype _Nonnull)initWithType : (RNBootSplashTaskType)type
23+ fade : (BOOL )fade
24+ resolver : (RCTPromiseResolveBlock _Nonnull)resolve
25+ rejecter : (RCTPromiseRejectBlock _Nonnull)reject ;
26+
27+ @end
28+
429@interface RNBootSplash : NSObject <RCTBridgeModule>
530
631+ (void )initWithStoryboard : (NSString * _Nonnull)storyboardName
You can’t perform that action at this time.
0 commit comments