Files
FLEX/Classes/ObjectExplorers/FLEXObjectExplorerFactory.h
Tanner Bennett 4bc797458a Hope this works!
Fix imports
2023-01-17 03:16:52 -08:00

31 lines
899 B
Objective-C

//
// FLEXObjectExplorerFactory.h
// Flipboard
//
// Created by Ryan Olson on 5/15/14.
// Copyright (c) 2020 FLEX Team. All rights reserved.
//
#import "Classes/GlobalStateExplorers/Globals/FLEXGlobalsEntry.h"
#ifndef _FLEXObjectExplorerViewController_h
#import "Classes/Headers/FLEXObjectExplorerViewController.h"
#else
@class FLEXObjectExplorerViewController;
#endif
NS_ASSUME_NONNULL_BEGIN
@interface FLEXObjectExplorerFactory : NSObject <FLEXGlobalsEntry>
+ (nullable FLEXObjectExplorerViewController *)explorerViewControllerForObject:(nullable id)object;
/// Register a specific explorer view controller class to be used when exploring
/// an object of a specific class. Calls will overwrite existing registrations.
/// Sections must be initialized using \c forObject: like
+ (void)registerExplorerSection:(Class)sectionClass forClass:(Class)objectClass;
@end
NS_ASSUME_NONNULL_END