git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding easy constructor for creating ITKeyCombos from Plist Representations
[ITKit.git]
/
ITKeyCombo.m
diff --git
a/ITKeyCombo.m
b/ITKeyCombo.m
index
1a70528
..
c0111a1
100755
(executable)
--- a/
ITKeyCombo.m
+++ b/
ITKeyCombo.m
@@
-21,6
+21,11
@@
return [[[self alloc] initWithKeyCode: keyCode modifiers: modifiers] autorelease];
}
return [[[self alloc] initWithKeyCode: keyCode modifiers: modifiers] autorelease];
}
++ (id)keyComboWithPlistRepresentation: (id)plist
+{
+ return [[[self alloc] initWithPlistRepresentation: plist] autorelease];
+}
+
- (id)initWithKeyCode: (int)keyCode modifiers: (int)modifiers
{
self = [super init];
- (id)initWithKeyCode: (int)keyCode modifiers: (int)modifiers
{
self = [super init];