mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-24 11:28:52 -04:00
25 lines
915 B
Objective-C
25 lines
915 B
Objective-C
//
|
|
// FLEXArgumentInputViewFactory.h
|
|
// FLEXInjected
|
|
//
|
|
// Created by Ryan Olson on 6/15/14.
|
|
//
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "FLEXArgumentInputSwitchView.h"
|
|
|
|
@interface FLEXArgumentInputViewFactory : NSObject
|
|
|
|
/// Forwards to argumentInputViewForTypeEncoding:currentValue: with a nil currentValue.
|
|
+ (FLEXArgumentInputView *)argumentInputViewForTypeEncoding:(const char *)typeEncoding;
|
|
|
|
/// The main factory method for making argument input view subclasses that are the best fit for the type.
|
|
+ (FLEXArgumentInputView *)argumentInputViewForTypeEncoding:(const char *)typeEncoding currentValue:(id)currentValue;
|
|
|
|
/// A way to check if we should try editing a filed given its type encoding and value.
|
|
/// Useful when deciding whether to edit or explore a property, ivar, or NSUserDefaults value.
|
|
+ (BOOL)canEditFieldWithTypeEncoding:(const char *)typeEncoding currentValue:(id)currentValue;
|
|
|
|
@end
|