react-native-macos/React/Modules
Lulu Wu ea93151f21 Make RCTEventDispatcher TurboModule-compatible
Summary:
This diff ended up being a bit more complicated than I anticipated, since the source files in `ReactInternal` were depending on `RCTEventDispatcher`. I made the following changes:
1. Make `RCTEventDispatcher` a `protocol`, keep it in `ReactInternal`.
2. Rename the `RCTEventDispatcher` NativeModule to `RCTEventDispatcherModule`, make it conform to the `RCTEventEmitter` `protocol`, and move it to `CoreModules`.
3. Where necessary, replace categories of `RCTEventDispatcher` with functions.

Changelog:
[iOS][Added] - Make RCTEventDispatcher TurboModule-comaptible

Reviewed By: fkgozali

Differential Revision: D18439488

fbshipit-source-id: b3da15c29459fddf884519f33b0c3b8c036b5539
2020-10-14 02:40:10 -07:00
..
RCTEventEmitter.h Call stopObserving on correct queue 2020-09-21 17:30:34 -07:00
RCTEventEmitter.m Call stopObserving on correct queue 2020-09-21 17:30:34 -07:00
RCTI18nUtil.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTI18nUtil.m Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTLayoutAnimation.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTLayoutAnimation.m remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
RCTLayoutAnimationGroup.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTLayoutAnimationGroup.m Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTRedBoxExtraDataViewController.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTRedBoxExtraDataViewController.m remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
RCTSurfacePresenterStub.h Remove integration between Paper and Fabric's UIManager 2020-06-29 15:26:31 -07:00
RCTSurfacePresenterStub.m Fabric: Fixing incorrect retaining policy for RCTSurfacePreseter (crash in RCTNativeAnimatedModule) 2020-01-13 13:36:36 -08:00
RCTUIManager.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUIManager.m Make RCTEventDispatcher TurboModule-compatible 2020-10-14 02:40:10 -07:00
RCTUIManagerObserverCoordinator.h Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
RCTUIManagerObserverCoordinator.mm Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTUIManagerUtils.h Clang format for all React Native files 2020-03-08 23:01:17 -07:00
RCTUIManagerUtils.m Fix Xcode warnings in React-Core pod (#29622) 2020-09-09 12:48:09 -07:00