mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ed86891d01
Summary: This migrates all ObjC NativeModule setBridge: calls to the bridge compatible initialize: call. I filtered out ViewManagers. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D28595520 fbshipit-source-id: b0e5dd681fb3563894f1aa3da1728f0c694f04bb
19 lines
555 B
Objective-C
19 lines
555 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTBridge.h>
|
|
#import <React/RCTEventDispatcherProtocol.h>
|
|
#import <React/RCTInitializing.h>
|
|
/**
|
|
* This class wraps the -[RCTBridge enqueueJSCall:args:] method, and
|
|
* provides some convenience methods for generating event calls.
|
|
*/
|
|
@interface RCTEventDispatcher : NSObject <RCTEventDispatcherProtocol, RCTInitializing>
|
|
@end
|