/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/React/Views/RCTDebuggingOverlay.h
27 строк
683 B
Ruslan Lesiutin
refactor[DebuggingOverlay]: use array annotation in native commands (#42119)
16 янв 2024, 01:11
16 янв 2024, 01:11
7eb94d9
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and 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/RCTView.h> @interface TraceUpdateTuple : NSObject @property (nonatomic, strong, readonly) UIView *view; @property (nonatomic, copy, readonly) dispatch_block_t cleanupBlock; - (instancetype)initWithView:(UIView *)view cleanupBlock:(dispatch_block_t)cleanupBlock; @end @interface RCTDebuggingOverlay : RCTView - (void)highlightTraceUpdates:(NSArray *)updates; - (void)highlightElements:(NSArray *)rectangles; - (void)clearElementsHighlights; @end