| Age | Commit message (Collapse) | Author | 
 | 
See #60 for a discussion. In short, keyCodeStringForKeyEquivalent
should be now correct even with non-ASCII keyboard layouts such as
Russian.
 | 
 | 
It’s not needed now the class is effectively immutable.
 | 
 | 
Shortcuts are equal if and only if their key codes and modifier flags are.
 | 
 | 
A shortcut is a good value type, it makes good sense to represent it
using an immutable object like NSNumber or NSString.
 | 
 | 
This makes it possible to use shortcuts as collection keys.
 | 
 | 
Using NSKeyedUnarchiver and NSKeyedArchiver directly is almost the
same amount of typing and it’s much clearer what goes on.
 | 
 | 
Forgot one `instancetype`, added `static` to NSString constants,
removed unneccessary @synthesize directives.
 | 
 | 
 | 
 | 
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.
 | 
 | 
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.
 | 
 | 
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.
 |