1 // Copyright 2015-present 650 Industries. All rights reserved. 2 3 #import "EXErrorView.h" 4 5 #import <React/RCTBridge.h> 6 7 @import UIKit; 8 9 NS_ASSUME_NONNULL_BEGIN 10 11 @interface EXViewController : UIViewController 12 13 - (instancetype)initWithLaunchOptions: (NSDictionary *)launchOptions; 14 - (void)loadReactApplication; 15 - (void)showErrorWithType:(EXFatalErrorType)type error: (nullable NSError *)error; 16 - (NSDictionary *)launchOptions; 17 18 // TODO: make private 19 @property (nonatomic, assign) BOOL isLoading; 20 @property (nonatomic, strong) UIView *contentView; 21 22 @end 23 24 NS_ASSUME_NONNULL_END 25