aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutView.m
AgeCommit message (Collapse)Author
2015-01-07Removed [MASShortcut shouldBypass].Tomáš Znamenáček
It was never used and the recording can already be cancelled by Esc.
2015-01-07Introduced a standalone MASShortcutValidator class to validate shortcuts.Tomáš Znamenáček
It’s a natural simplification of the MASShortcut class. All MASShortcutView objects use a shared validator by default, but can be reconfigured to use a different validator if needed through the shortcutValidator property.
2015-01-07Converted keycode macros to plain functions.Tomáš Znamenáček
Plain functions are less prone to bugs, the compiler understands them better and can offer better error messages, and plain functions can be refactored more easily.
2015-01-07Repackaged the code as a framework and included the demo.Tomáš Znamenáček
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.