Files
react-native/Libraries
Phillip PanandFacebook GitHub Bot 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
..
2021-11-17 20:35:19 -08:00
2021-11-10 15:40:15 -08:00
2021-11-10 15:40:15 -08:00
2021-11-10 15:40:15 -08:00
2021-09-28 14:50:41 -07:00
2021-07-01 09:04:46 -07:00
2021-08-26 01:06:44 -07:00
2021-04-26 22:57:55 -07:00
2021-11-10 15:40:15 -08:00
2021-08-24 07:21:56 -07:00