mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-27 04:42:19 -04:00
added files via upload
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// FLEXRuntimeController.h
|
||||
// FLEX
|
||||
//
|
||||
// Created by Tanner on 3/23/17.
|
||||
// Copyright © 2017 Tanner Bennett. All rights reserved.
|
||||
//
|
||||
|
||||
#import "FLEXRuntimeKeyPath.h"
|
||||
|
||||
/// Wraps FLEXRuntimeClient and provides extra caching mechanisms
|
||||
@interface FLEXRuntimeController : NSObject
|
||||
|
||||
/// @return An array of strings if the key path only evaluates
|
||||
/// to a class or bundle; otherwise, a list of lists of FLEXMethods.
|
||||
+ (NSArray *)dataForKeyPath:(FLEXRuntimeKeyPath *)keyPath;
|
||||
|
||||
/// Useful when you need to specify which classes to search in.
|
||||
/// \c dataForKeyPath: will only search classes matching the class key.
|
||||
/// We use this elsewhere when we need to search a class hierarchy.
|
||||
+ (NSArray<NSArray<FLEXMethod *> *> *)methodsForToken:(FLEXSearchToken *)token
|
||||
instance:(NSNumber *)onlyInstanceMethods
|
||||
inClasses:(NSArray<NSString*> *)classes;
|
||||
|
||||
/// Useful when you need the classes that are associated with the
|
||||
/// double list of methods returned from \c dataForKeyPath
|
||||
+ (NSMutableArray<NSString *> *)classesForKeyPath:(FLEXRuntimeKeyPath *)keyPath;
|
||||
|
||||
+ (NSString *)shortBundleNameForClass:(NSString *)name;
|
||||
|
||||
+ (NSString *)imagePathWithShortName:(NSString *)suffix;
|
||||
|
||||
/// Gives back short names. For example, "Foundation.framework"
|
||||
+ (NSArray<NSString*> *)allBundleNames;
|
||||
|
||||
@end
|
Reference in New Issue
Block a user