FLEXKeyboardShortcutManager.h 698 B

123456789101112131415161718192021222324
  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. @interface FLEXKeyboardShortcutManager : NSObject
  10. @property (nonatomic, readonly, class) FLEXKeyboardShortcutManager *sharedManager;
  11. - (void)registerSimulatorShortcutWithKey:(NSString *)key
  12. modifiers:(UIKeyModifierFlags)modifiers
  13. action:(dispatch_block_t)action
  14. description:(NSString *)description;
  15. @property (nonatomic, getter=isEnabled) BOOL enabled;
  16. @property (nonatomic, readonly) NSString *keyboardShortcutsDescription;
  17. @end