mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [internal] Move initital setups in AppDelegate to util classes. This will make it easy to apply the new architecture changes in the future. Reviewed By: cortinico Differential Revision: D33051517 fbshipit-source-id: 16e326b7816fae83df65450c545e7dce1a93b9d0
18 lines
639 B
Objective-C
18 lines
639 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its 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 <React/RCTBridge.h>
|
|
#import <React/RCTRootView.h>
|
|
|
|
@interface RCTAppSetupUtils : NSObject
|
|
+ (void)prepareApp:(UIApplication *_Nonnull)application;
|
|
+ (RCTRootView *_Nonnull)defaultRootViewWithBridge:(RCTBridge *_Nonnull)bridge
|
|
moduleName:(NSString *_Nonnull)moduleName
|
|
initialProperties:(nullable NSDictionary *)initialProperties;
|
|
@end
|