From 118abba104a1eeabc5c449ac86e25a6d87f1954c Mon Sep 17 00:00:00 2001 From: Tomáš Znamenáček Date: Thu, 7 Aug 2014 12:12:06 +0200 Subject: Added a shared binder instance singleton. This adds a really simple API to set up some bindings without having to keep a binder instance around by hand. If somebody wants to, it’s not a problem to allocate a separate instance and have precise control over its lifetime. --- Framework/MASShortcutBinder.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Framework/MASShortcutBinder.h') diff --git a/Framework/MASShortcutBinder.h b/Framework/MASShortcutBinder.h index c38dbd4..98e01c7 100644 --- a/Framework/MASShortcutBinder.h +++ b/Framework/MASShortcutBinder.h @@ -2,6 +2,8 @@ @interface MASShortcutBinder : NSObject ++ (instancetype) sharedBinder; + @property(strong) MASShortcutMonitor *shortcutMonitor; @property(copy) NSDictionary *bindingOptions; -- cgit v1.2.3