FLEXExplorerToolbar.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // FLEXExplorerToolbar.h
  3. // Flipboard
  4. //
  5. // Created by Ryan Olson on 4/4/14.
  6. // Copyright (c) 2014 Flipboard. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @class FLEXToolbarItem;
  10. @interface FLEXExplorerToolbar : UIView
  11. /// Toolbar item for selecting views.
  12. /// Users of the toolbar can configure the enabled/selected state and event targets/actions.
  13. @property (nonatomic, strong, readonly) FLEXToolbarItem *selectItem;
  14. /// Toolbar item for presenting a list with the view hierarchy.
  15. /// Users of the toolbar can configure the enabled state and event targets/actions.
  16. @property (nonatomic, strong, readonly) FLEXToolbarItem *hierarchyItem;
  17. /// Toolbar item for moving views.
  18. /// Users of the toolbar can configure the enabled/selected state and event targets/actions.
  19. @property (nonatomic, strong, readonly) FLEXToolbarItem *moveItem;
  20. /// Toolbar item for inspecting details of the selected view.
  21. /// Users of the toolbar can configure the enabled state and event targets/actions.
  22. @property (nonatomic, strong, readonly) FLEXToolbarItem *globalsItem;
  23. /// Toolbar item for hiding the explorer.
  24. /// Users of the toolbar can configure the event targets/actions.
  25. @property (nonatomic, strong, readonly) FLEXToolbarItem *closeItem;
  26. /// A view for moving the entire toolbar.
  27. /// Users of the toolbar can attach a pan gesture recognizer to decide how to reposition the toolbar.
  28. @property (nonatomic, strong, readonly) UIView *dragHandle;
  29. /// A color matching the overlay on color on the selected view.
  30. @property (nonatomic, strong) UIColor *selectedViewOverlayColor;
  31. /// Description text for the selected view displayed below the toolbar items.
  32. @property (nonatomic, copy) NSString *selectedViewDescription;
  33. /// Area where details of the selected view are shown
  34. /// Users of the toolbar can attach a tap gesture recognizer to show additional details.
  35. @property (nonatomic, strong, readonly) UIView *selectedViewDescriptionContainer;
  36. @end