From b3be5743e99f01acdf628c48d3a6f9126aca2c5b Mon Sep 17 00:00:00 2001 From: Ben Roth Date: Tue, 21 Mar 2017 04:03:00 -0700 Subject: [PATCH] Fix property accessor warning in RCTDevSettings::websocketExecutorName Summary: Motivation: Fixes Xcode warning `Ivar '_websocketExecutorName' which backs the property is not referenced in this property's accessor` which shows up because this property has no setter (and is never set anywhere). Closes https://github.com/facebook/react-native/pull/12639 Differential Revision: D4745437 Pulled By: javache fbshipit-source-id: 3ab4b0df62f90adc2b62d891197dc783e07da4e3 --- React/Modules/RCTDevSettings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Modules/RCTDevSettings.h b/React/Modules/RCTDevSettings.h index 6fb6fb465..d8ffd7c90 100644 --- a/React/Modules/RCTDevSettings.h +++ b/React/Modules/RCTDevSettings.h @@ -46,7 +46,7 @@ * Alternate name for the websocket executor, if not the generic term "remote". * TODO t16297016: this seems to be unused, remove? */ -@property (nonatomic, copy) NSString *websocketExecutorName; +@property (nonatomic, readonly) NSString *websocketExecutorName; /* * Whether shaking will show RCTDevMenu. The menu is enabled by default if RCT_DEV=1, but