cocoabits / MASShortcut

Modern framework for managing global keyboard shortcuts compatible with Mac App Store. More details:
http://blog.shpakovski.com/2012/07/global-keyboard-shortcuts-in-cocoa.html
BSD 2-Clause "Simplified" License
1.52k stars 220 forks source link

Legacy OS X support down to 10.6 included #57

Closed zoul closed 9 years ago

zoul commented 9 years ago

Adds support for OS X down to 10.6 included. Mostly just two changes: removed Auto Layout support in the demo project and replaced __weak (unsupported on 10.6) with __unsafe_unretained. As both instances of __weak were used to prevent retain cycles, I think the changes should be safe.

@shpakovski, would you like to go over the changes before merging? You have already seen b9b1964, the two other commits are also very simple.