From 377b44220f2a4a8b7ffc3eda9e93cf073e8a74da Mon Sep 17 00:00:00 2001 From: Tomáš Znamenáček Date: Tue, 5 Aug 2014 11:13:13 +0200 Subject: Repackaged the code as a framework and included the demo. Packaging the code as a framework is mostly just a formality. It doesn’t really change much, it just turns the code into a regular component. What it does change is that the code now has its own Xcode settings, which could make compatibility easier in the long run. Including the demo in the main repository makes it easier to hack on the library, since you can try the changes immediately. It also shows how to bundle the framework into an app that uses it. --- Demo/AppDelegate.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Demo/AppDelegate.h (limited to 'Demo/AppDelegate.h') diff --git a/Demo/AppDelegate.h b/Demo/AppDelegate.h new file mode 100644 index 0000000..5053cfb --- /dev/null +++ b/Demo/AppDelegate.h @@ -0,0 +1,10 @@ +@class MASShortcutView; + +@interface AppDelegate : NSObject + +@property (nonatomic, assign) IBOutlet NSWindow *window; +@property (nonatomic, weak) IBOutlet MASShortcutView *shortcutView; +@property (nonatomic, getter = isShortcutEnabled) BOOL shortcutEnabled; +@property (nonatomic, getter = isConstantShortcutEnabled) BOOL constantShortcutEnabled; + +@end -- cgit v1.2.3