####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
Copy DDHotKey files in your project
- DDHotKeyCenter.h
- DDHotKeyCenter.m
- DDHotKeyUtilities.h
- DDHotKeyUtilities.m
- DDHotKeyTextField.h
- DDHotKeyTextField.m
add AppKit to DDHotKeyUtilities.m
#import <AppKit/AppKit.h>
- add Bridging-Header.h file in project
- add DDHotKeyCenter to Bridging-Header.h
#import "DDHotKeyCenter.h"
- use DDHotKey easily with DDHotKey API