mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Comments & category cleanup
Summary: Been reading a lot of code comments getting familiar with Fabric & TM, just fixing a few typos and removing an unused bridge category method. Reviewed By: shergin Differential Revision: D16371581 fbshipit-source-id: bf0cc9c873c60e37124dc715c92d7f105e54e42f
This commit is contained in:
committed by
Facebook Github Bot
parent
c075a240cd
commit
97d3d59077
@@ -17,9 +17,9 @@ typedef void(^RCTSurfaceEnumeratorBlock)(NSEnumerator<RCTFabricSurface *> *enume
|
||||
|
||||
/**
|
||||
* Registry of Surfaces.
|
||||
* Incapsulates storing Surface objects and quering them by root tag.
|
||||
* Incapsulates storing Surface objects and querying them by root tag.
|
||||
* All methods of the registry are thread-safe.
|
||||
* The registry stores Surface objects as weak refereces.
|
||||
* The registry stores Surface objects as weak references.
|
||||
*/
|
||||
@interface RCTSurfaceRegistry : NSObject
|
||||
|
||||
@@ -38,7 +38,7 @@ typedef void(^RCTSurfaceEnumeratorBlock)(NSEnumerator<RCTFabricSurface *> *enume
|
||||
|
||||
/**
|
||||
* Returns stored Surface object by given root tag.
|
||||
* If the registry does not have such Surface registred, returns `nil`.
|
||||
* If the registry does not have such Surface registered, returns `nil`.
|
||||
*/
|
||||
- (nullable RCTFabricSurface *)surfaceForRootTag:(ReactTag)rootTag;
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ private:
|
||||
// TODO: Consolidate this extension with the one in RCTSurfacePresenter.
|
||||
@interface RCTBridge ()
|
||||
|
||||
- (std::shared_ptr<facebook::react::MessageQueueThread>)jsMessageThread;
|
||||
- (std::weak_ptr<facebook::react::Instance>)reactInstance;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user