You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
906 B

  1. //
  2. // FLEXArgumentInputViewFactory.h
  3. // FLEXInjected
  4. //
  5. // Created by Ryan Olson on 6/15/14.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. @class FLEXArgumentInputView;
  10. @interface FLEXArgumentInputViewFactory : NSObject
  11. /// Forwards to argumentInputViewForTypeEncoding:currentValue: with a nil currentValue.
  12. + (FLEXArgumentInputView *)argumentInputViewForTypeEncoding:(const char *)typeEncoding;
  13. /// The main factory method for making argument input view subclasses that are the best fit for the type.
  14. + (FLEXArgumentInputView *)argumentInputViewForTypeEncoding:(const char *)typeEncoding currentValue:(id)currentValue;
  15. /// A way to check if we should try editing a filed given its type encoding and value.
  16. /// Useful when deciding whether to edit or explore a property, ivar, or NSUserDefaults value.
  17. + (BOOL)canEditFieldWithTypeEncoding:(const char *)typeEncoding currentValue:(id)currentValue;
  18. @end