react-native-macos/React/CxxBridge
Phillip Pan b8f0e975b7 use NSInteger for NS_ENUM instead of NSUInteger
Summary:
as title

in practice, this doesn't make any difference, but this is to follow the apple recommendation and for us to have a more consistent codebase.

https://developer.apple.com/library/content/releasenotes/ObjectiveC/ModernizationObjC/AdoptingModernObjective-C/AdoptingModernObjective-C.html

>The NS_ENUM macro helps define both the name and type of the enumeration, in this case named UITableViewCellStyle of type NSInteger. The type for enumerations should be NSInteger.
>Like enumerations, the NS_OPTIONS macro defines both a name and a type. However, the type for options should usually be NSUInteger.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D32641990

fbshipit-source-id: 56e4cd44cdefe54f61c90844665a685ee2d6ffad
2021-11-24 15:45:23 -08:00
..
JSCExecutorFactory.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
JSCExecutorFactory.mm Upstream RN macOS Hermes integration bits (#29748) 2020-08-27 01:18:33 -07:00
NSDataBigString.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
NSDataBigString.mm Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTCxxBridge.mm use NSInteger for NS_ENUM instead of NSUInteger 2021-11-24 15:45:23 -08:00
RCTCxxBridgeDelegate.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTJSIExecutorRuntimeInstaller.h Upstream RN macOS Hermes integration bits (#29748) 2020-08-27 01:18:33 -07:00
RCTJSIExecutorRuntimeInstaller.mm Upstream RN macOS Hermes integration bits (#29748) 2020-08-27 01:18:33 -07:00
RCTMessageThread.h Fix ASAN crash in RCTMessageThread 2020-10-13 15:37:52 -07:00
RCTMessageThread.mm Fix ASAN crash in RCTMessageThread 2020-10-13 15:37:52 -07:00
RCTObjcExecutor.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTObjcExecutor.mm Split loadApplicationScript into initializeRuntime and loadBundle (#27844) 2020-04-01 17:52:39 -07:00