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.

24 lines
557 B

  1. //
  2. // FLEXKeyboardShortcutManager.h
  3. // FLEX
  4. //
  5. // Created by Ryan Olson on 9/19/15.
  6. // Copyright © 2015 Flipboard. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #if TARGET_OS_SIMULATOR
  10. @interface FLEXKeyboardShortcutManager : NSObject
  11. + (instancetype)sharedManager;
  12. - (void)registerSimulatorShortcutWithKey:(NSString *)key modifiers:(UIKeyModifierFlags)modifiers action:(dispatch_block_t)action description:(NSString *)description;
  13. - (NSString *)keyboardShortcutsDescription;
  14. @property (nonatomic, getter=isEnabled) BOOL enabled;
  15. @end
  16. #endif