Files
flipper/iOS/Plugins/FlipperKitUIDebuggerPlugin/FlipperKitUIDebuggerPlugin/Observer/UIDTreeObserverBuilder.h
Lorenzo Blasa db7aa9eeaf OSS
Summary: Move UIDebugger plugin to OSS space.

Reviewed By: passy

Differential Revision: D47634848

fbshipit-source-id: 90e8c0181a2434d0e5d76bdb99b902051e6d702e
2023-07-21 04:47:13 -07:00

29 lines
753 B
Objective-C

/*
* 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.
*/
#if FB_SONARKIT_ENABLED
#import <Foundation/Foundation.h>
#import "UIDTreeObserver.h"
@class UIDContext;
/**
UIDTreeObserverBuilder, as the name suggests, can create an observers for a
node. Basically, observer builders are registered in the factory. Then, when
an observer is needed for a node, builders are asked whether they can create
an observer for it. If it can, then it will create an observer for it.
*/
@protocol UIDTreeObserverBuilder
- (BOOL)canBuildFor:(id)node;
- (UIDTreeObserver*)buildWithContext:(UIDContext*)context;
@end
#endif