Skip to content

antscript/SwiftyDDHotKey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

SwiftyDDHotKey

####How to use DDHotKey with swift (OS X).

DDHotKey is an easy-to-use Cocoa class for registering an application to respond to system key events, or "hotkeys". ----DDHotKey

Step 1

include DDHotKey files in your project

Copy DDHotKey files in your project

  • DDHotKeyCenter.h
  • DDHotKeyCenter.m
  • DDHotKeyUtilities.h
  • DDHotKeyUtilities.m
  • DDHotKeyTextField.h
  • DDHotKeyTextField.m

Step 2

add AppKit to DDHotKeyUtilities.m

#import <AppKit/AppKit.h>

Step 3

  • add Bridging-Header.h file in project
  • add DDHotKeyCenter to Bridging-Header.h
#import "DDHotKeyCenter.h"

Step 4

  • use DDHotKey easily with DDHotKey API

About

Using DDHotKey with swift .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published