File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed
Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,6 @@ extern NSString *const RCTContentDidAppearNotification;
7474 */
7575@property (nonatomic , strong , readonly ) RCTBridge *bridge;
7676
77- /* *
78- * DEPRECATED: access app properties via appProperties property instead
79- *
80- * The default properties to apply to the view when the script bundle
81- * is first loaded. Defaults to nil/empty.
82- */
83- @property (nonatomic , copy , readonly ) NSDictionary *initialProperties DEPRECATED_MSG_ATTRIBUTE (" use appProperties instead" );
84-
8577/* *
8678 * The properties to apply to the view. Use this property to update
8779 * application properties and rerender the view. Initialized with
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ @implementation RCTRootView
5353 RCTBridge *_bridge;
5454 NSString *_moduleName;
5555 NSDictionary *_launchOptions;
56- NSDictionary *_initialProperties;
5756 RCTRootContentView *_contentView;
5857}
5958
@@ -71,7 +70,6 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge
7170
7271 _bridge = bridge;
7372 _moduleName = moduleName;
74- _initialProperties = [initialProperties copy ];
7573 _appProperties = [initialProperties copy ];
7674 _loadingViewFadeDelay = 0.25 ;
7775 _loadingViewFadeDuration = 0.25 ;
@@ -214,12 +212,6 @@ - (void)layoutSubviews
214212 };
215213}
216214
217- - (NSDictionary *)initialProperties
218- {
219- RCTLogWarn (@" Using deprecated 'initialProperties' property. Use 'appProperties' instead." );
220- return _initialProperties;
221- }
222-
223215- (void )setAppProperties : (NSDictionary *)appProperties
224216{
225217 RCTAssertMainThread ();
You can’t perform that action at this time.
0 commit comments