Adding easy constructor for creating ITKeyCombos from Plist Representations
[ITKit.git] / ITKeyCombo.m
index 1a70528..c0111a1 100755 (executable)
        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];