react-native-macos/Libraries/Image
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
..
__tests__ RN: Eliminate Jest Log Spew 2021-11-09 23:42:28 -08:00
AssetRegistry.js Add `@react-native/assets` package for Asset Registry related code 2020-07-23 05:07:40 -07:00
AssetSourceResolver.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
AssetUtils.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Image.android.js Fix Dead links to documents in the comments (#32619) 2021-11-22 03:31:10 -08:00
Image.ios.js Fix Dead links to documents in the comments (#32619) 2021-11-22 03:31:10 -08:00
ImageAnalyticsTagContext.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
ImageBackground.js Manually fix types for LTI annotations in xplat/js 2021-11-10 15:40:15 -08:00
ImageInjection.js Refactor Image to log component stacktraces for images rendering non-fb sources 2021-06-21 20:29:27 -07:00
ImagePickerIOS.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
ImageProps.js Fix Dead links to documents in the comments (#32619) 2021-11-22 03:31:10 -08:00
ImageResizeMode.js RN: Replace `ImageResizeMode` w/ Flow Type 2018-09-28 01:07:30 -07:00
ImageSource.js fix typos in comments (#32061) 2021-08-24 07:21:56 -07:00
ImageViewNativeComponent.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
NativeImageEditor.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
NativeImageLoaderAndroid.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
NativeImageLoaderIOS.js Make RootTag an opaque type 2021-04-26 22:57:55 -07:00
NativeImagePickerIOS.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
NativeImageStoreAndroid.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
NativeImageStoreIOS.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
RCTAnimatedImage.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTAnimatedImage.m use new instead of alloc init 2021-10-20 22:18:38 -07:00
RCTDisplayWeakRefreshable.h iOS: Fix Animated image crash when CADisplayLink target in RCTWeakProxy is nil 2020-05-12 17:08:43 -07:00
RCTDisplayWeakRefreshable.m iOS: Fix Animated image crash when CADisplayLink target in RCTWeakProxy is nil 2020-05-12 17:08:43 -07:00
RCTGIFImageDecoder.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTGIFImageDecoder.mm Codemod: Give legacy cxx and ObjC-only NativeModules a getTurboModule: method 2021-04-08 21:15:52 -07:00
RCTImageBlurUtils.h Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
RCTImageBlurUtils.m Prevent crash when blurring an image 2020-12-22 12:18:46 -08:00
RCTImageCache.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageCache.m use new instead of alloc init 2021-10-20 22:18:38 -07:00
RCTImageDataDecoder.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageEditingManager.h Move RCTImage NativeModules back to RCTImage 2019-10-21 17:15:32 -07:00
RCTImageEditingManager.mm Round 2: Remove synthesize bridge = _bridge 2020-12-17 10:13:32 -08:00
RCTImageLoader.h RCTImageLoader: Use RCTModuleRegistry to load loaders/decoders 2021-04-27 15:03:05 -07:00
RCTImageLoader.mm RCTImageLoader: Use RCTModuleRegistry to load loaders/decoders 2021-04-27 15:03:05 -07:00
RCTImageLoaderLoggable.h Allow image loaders to enable/disable image telemetry 2020-10-29 21:59:59 -07:00
RCTImageLoaderProtocol.h use NSInteger for NS_ENUM instead of NSUInteger 2021-11-24 15:45:23 -08:00
RCTImageLoaderWithAttributionProtocol.h iOS: Removed unused helper methods for image instrumentation 2021-04-07 08:57:37 -07:00
RCTImagePlugins.h Run depslint on fb_plugin_apple_library rules 2019-10-26 13:47:15 -07:00
RCTImagePlugins.mm Fix crash in RCTCoreModulesClassProvider during quit 2021-04-28 13:29:06 -07:00
RCTImageShadowView.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageShadowView.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageStoreManager.h Move RCTImage NativeModules back to RCTImage 2019-10-21 17:15:32 -07:00
RCTImageStoreManager.mm Codemod: Give legacy cxx and ObjC-only NativeModules a getTurboModule: method 2021-04-08 21:15:52 -07:00
RCTImageURLLoader.h 6/6 Log image-rendered for Fabric image logging 2020-09-11 15:09:12 -07:00
RCTImageURLLoaderWithAttribution.h Log prefetched image's view controller moduleName and GraphQL queryRootName 2020-11-07 02:23:54 -08:00
RCTImageURLLoaderWithAttribution.mm iOS Fabric: added support for image instrumentation [2] 2019-12-16 22:50:45 -08:00
RCTImageUtils.h Tidy up license headers [3/n] 2019-10-16 10:06:34 -07:00
RCTImageUtils.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageView.h Annotate <Image> components in QPL logging using ImageAnalyticsTagContext 2020-05-23 23:40:24 -07:00
RCTImageView.mm use new instead of alloc init 2021-10-20 22:18:38 -07:00
RCTImageViewManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTImageViewManager.mm Prefetch images using a lower download priority 2020-06-05 20:55:36 -07:00
RCTLocalAssetImageLoader.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTLocalAssetImageLoader.mm Codemod: Give legacy cxx and ObjC-only NativeModules a getTurboModule: method 2021-04-08 21:15:52 -07:00
RCTResizeMode.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTResizeMode.m Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUIImageViewAnimated.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUIImageViewAnimated.m use new instead of alloc init 2021-10-20 22:18:38 -07:00
React-RCTImage.podspec Move codegen output out of node_modules 2021-10-25 20:48:24 -07:00
RelativeImageStub.js Add `@react-native/assets` package for Asset Registry related code 2020-07-23 05:07:40 -07:00
TextInlineImageNativeComponent.js JS: Format with Prettier v2.4.1 [3/n] 2021-11-02 22:14:16 -07:00
nativeImageSource.js Fix Dead links to documents in the comments (#32619) 2021-11-22 03:31:10 -08:00
resolveAssetSource.js Add cachebreaker to remote assets 2020-12-23 19:49:27 -08:00