diff options
| author | Vadim Shpakovski | 2012-07-07 14:35:47 +0300 | 
|---|---|---|
| committer | Vadim Shpakovski | 2012-07-07 14:35:47 +0300 | 
| commit | bb077190ef06170558880f35f8ee6989a9248f1a (patch) | |
| tree | aa70b9aa0a228c63169b24689247af1ab1c5d5c1 /MASShortcut+UserDefaults.m | |
| parent | 77238db370b8324346a569188cd9ba006cebe916 (diff) | |
| download | MASShortcut-bb077190ef06170558880f35f8ee6989a9248f1a.tar.bz2 | |
Fixes all compatibility issues with Xcode 4.3.
Diffstat (limited to 'MASShortcut+UserDefaults.m')
| -rw-r--r-- | MASShortcut+UserDefaults.m | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/MASShortcut+UserDefaults.m b/MASShortcut+UserDefaults.m index af3b5af..28fd633 100644 --- a/MASShortcut+UserDefaults.m +++ b/MASShortcut+UserDefaults.m @@ -3,7 +3,7 @@  @interface MASShortcutHotKey : NSObject  @property (nonatomic, readonly) NSString *userDefaultsKey; -@property (nonatomic, readonly) void (^handler)(); +@property (nonatomic, readonly, copy) void (^handler)();  @property (nonatomic, readonly) EventHotKeyRef carbonHotKey;  @property (nonatomic, readonly) UInt32 carbonHotKeyID; @@ -48,6 +48,13 @@  @implementation MASShortcutHotKey +@synthesize carbonHotKeyID = _carbonHotKeyID; +@synthesize handler = _handler; +@synthesize userDefaultsKey = _userDefaultsKey; +@synthesize carbonHotKey = _carbonHotKey; + +#pragma mark - +  - (id)initWithUserDefaultsKey:(NSString *)userDefaultsKey handler:(void (^)())handler  {      self = [super init];  | 
