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.

32 lines
942 B

  1. //
  2. // FLEXFieldEditorViewController.h
  3. // Flipboard
  4. //
  5. // Created by Ryan Olson on 5/16/14.
  6. // Copyright (c) 2014 Flipboard. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class FLEXFieldEditorView;
  10. @class FLEXArgumentInputView;
  11. @interface FLEXFieldEditorViewController : UIViewController
  12. - (id)initWithTarget:(id)target;
  13. // Convenience accessor since many subclasses only use one input view
  14. @property (nonatomic, readonly) FLEXArgumentInputView *firstInputView;
  15. // For subclass use only.
  16. @property (nonatomic, strong, readonly) id target;
  17. @property (nonatomic, strong, readonly) FLEXFieldEditorView *fieldEditorView;
  18. @property (nonatomic, strong, readonly) UIBarButtonItem *setterButton;
  19. - (void)actionButtonPressed:(id)sender;
  20. - (NSString *)titleForActionButton;
  21. /// Pushes an explorer view controller for the given object
  22. /// or pops the current view controller.
  23. - (void)exploreObjectOrPopViewController:(id)objectOrNil;
  24. @end