FLEXArgumentInputViewFactory.h 915 B

12345678910111213141516171819202122232425
  1. //
  2. // FLEXArgumentInputViewFactory.h
  3. // FLEXInjected
  4. //
  5. // Created by Ryan Olson on 6/15/14.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "FLEXArgumentInputSwitchView.h"
  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