/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import #import #import #import #import namespace facebook { namespace react { class FabricUIManager; class ExceptionManager; } // namespace react } // namespace facebook using namespace facebook::react; /** * An ObjC++ wrapper around the C++ FabricUIManager instance, so that the RCTCxxBridge can access it as needed. */ @interface RCTFabricUIManagerWrapper : NSObject - (std::shared_ptr)manager; - (std::shared_ptr)exceptionManager; @end @interface RCTBridge (RCTFabricUIManagerWrapper) /** * To access via the bridge: * * std::shared_ptr fabricUIManager = [_bridge fabricUIManager]; */ - (std::shared_ptr)fabricUIManager; @end