mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 19:38:54 -04:00
added files via upload
This commit is contained in:
30
Tweaks/FLEX/ObjectExplorers/FLEXObjectExplorerFactory.h
Normal file
30
Tweaks/FLEX/ObjectExplorers/FLEXObjectExplorerFactory.h
Normal file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// FLEXObjectExplorerFactory.h
|
||||
// Flipboard
|
||||
//
|
||||
// Created by Ryan Olson on 5/15/14.
|
||||
// Copyright (c) 2020 FLEX Team. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FLEXGlobalsEntry.h"
|
||||
|
||||
#ifndef _FLEXObjectExplorerViewController_h
|
||||
#import "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
|
Reference in New Issue
Block a user