Add missing tags
This commit is contained in:
Родитель
45f69bd2cd
Коммит
a36200d4d2
|
@ -15,7 +15,7 @@
|
|||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
void RCTCopyBackedTextInput(
|
||||
RCTUIView<RCTBackedTextInputViewProtocol> *fromTextInput,
|
||||
RCTUIView<RCTBackedTextInputViewProtocol> *fromTextInput,
|
||||
RCTUIView<RCTBackedTextInputViewProtocol> *toTextInput); // TODO(macOS GH#774)
|
||||
|
||||
UITextAutocorrectionType RCTUITextAutocorrectionTypeFromOptionalBool(std::optional<bool> autoCorrect);
|
||||
|
|
|
@ -99,12 +99,12 @@ static void UpdateActiveTouchWithUITouch(
|
|||
}
|
||||
}
|
||||
|
||||
static ActiveTouch CreateTouchWithUITouch(UITouch *uiTouch, RCTUIView *rootComponentView, CGPoint rootViewOriginOffset)
|
||||
static ActiveTouch CreateTouchWithUITouch(UITouch *uiTouch, RCTUIView *rootComponentView, CGPoint rootViewOriginOffset) // TODO(macOS GH#774)
|
||||
{
|
||||
ActiveTouch activeTouch = {};
|
||||
|
||||
// Find closest Fabric-managed touchable view
|
||||
RCTUIView *componentView = uiTouch.view;
|
||||
RCTUIView *componentView = uiTouch.view; // TODO(macOS GH#774)
|
||||
while (componentView) {
|
||||
if ([componentView respondsToSelector:@selector(touchEventEmitterAtPoint:)]) {
|
||||
activeTouch.eventEmitter = [(id<RCTTouchableComponentViewProtocol>)componentView
|
||||
|
@ -164,7 +164,7 @@ struct PointerHasher {
|
|||
/*
|
||||
* We hold the view weakly to prevent a retain cycle.
|
||||
*/
|
||||
__weak RCTUIView *_rootComponentView;
|
||||
__weak RCTUIView *_rootComponentView; // TODO(macOS GH#774)
|
||||
IdentifierPool<11> _identifierPool;
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@ struct PointerHasher {
|
|||
|
||||
RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)action)
|
||||
|
||||
- (void)attachToView:(RCTUIView *)view
|
||||
- (void)attachToView:(RCTUIView *)view // TODO(macOS GH#774)
|
||||
{
|
||||
RCTAssert(self.view == nil, @"RCTTouchHandler already has attached view.");
|
||||
|
||||
|
@ -195,7 +195,7 @@ RCT_NOT_IMPLEMENTED(-(instancetype)initWithTarget : (id)target action : (SEL)act
|
|||
_rootComponentView = view;
|
||||
}
|
||||
|
||||
- (void)detachFromView:(RCTUIView *)view
|
||||
- (void)detachFromView:(RCTUIView *)view // TODO(macOS GH#774)
|
||||
{
|
||||
RCTAssertParam(view);
|
||||
RCTAssert(self.view == view, @"RCTTouchHandler attached to another view.");
|
||||
|
|
|
@ -47,12 +47,12 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
*/
|
||||
- (void)resetWithSurfacePresenter:(RCTSurfacePresenter *)surfacePresenter;
|
||||
|
||||
#pragma mark - Dealing with RCTUIView representation, the Main thread only access
|
||||
#pragma mark - Dealing with UIView representation, the Main thread only access
|
||||
|
||||
/**
|
||||
* Creates (if needed) and returns `UIView` instance which represents the Surface.
|
||||
* The Surface will cache and *retain* this object.
|
||||
* Returning the RCTUIView instance does not mean that the Surface is ready
|
||||
* Returning the UIView instance does not mean that the Surface is ready
|
||||
* to execute and layout. It can be just a handler which Surface will use later
|
||||
* to mount the actual views.
|
||||
* RCTSurface does not control (or influence in any way) the size or origin
|
||||
|
|
Загрузка…
Ссылка в новой задаче