FLEXExplorerViewController.h 898 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // FLEXExplorerViewController.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. @protocol FLEXExplorerViewControllerDelegate;
  10. @interface FLEXExplorerViewController : UIViewController
  11. @property (nonatomic, weak) id <FLEXExplorerViewControllerDelegate> delegate;
  12. - (BOOL)shouldReceiveTouchAtWindowPoint:(CGPoint)pointInWindowCoordinates;
  13. - (BOOL)wantsWindowToBecomeKey;
  14. // Keyboard shortcut helpers
  15. - (void)toggleSelectTool;
  16. - (void)toggleMoveTool;
  17. - (void)toggleViewsTool;
  18. - (void)toggleMenuTool;
  19. - (void)handleDownArrowKeyPressed;
  20. - (void)handleUpArrowKeyPressed;
  21. - (void)handleRightArrowKeyPressed;
  22. - (void)handleLeftArrowKeyPressed;
  23. @end
  24. @protocol FLEXExplorerViewControllerDelegate <NSObject>
  25. - (void)explorerViewControllerDidFinish:(FLEXExplorerViewController *)explorerViewController;
  26. @end