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:
Peter Argany
2019-07-20 10:41:46 -07:00
committed by Facebook Github Bot
parent c075a240cd
commit 97d3d59077
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -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