Missed userInfo keys.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 11 Mar 2013 11:28:48 +0000 (12:28 +0100)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Mon, 11 Mar 2013 11:28:48 +0000 (12:28 +0100)
Classes/NJMappingsController.m
Classes/NJOutputController.m
Info.plist

index d7310c0..0db1111 100644 (file)
     [self updateInterfaceForCurrentMapping];
     [NSNotificationCenter.defaultCenter
          postNotificationName:NJEventMappingChanged
-         object:self
-         userInfo:@{ @"mapping": _currentMapping }];
+                       object:self
+                     userInfo:@{ NJMappingKey : _currentMapping }];
 }
 
 - (IBAction)addPressed:(id)sender {
index cf758e6..0bb335f 100644 (file)
 }
 
 - (void)mappingListDidChange:(NSNotification *)note {
-    NSArray *mappings = note.userInfo[@"mappings"];
+    NSArray *mappings = note.userInfo[NJMappingListKey];
     NJMapping *current = mappingPopup.selectedItem.representedObject;
     [mappingPopup.menu removeAllItems];
     for (NJMapping *mapping in mappings) {
index 4223333..6665b11 100644 (file)
@@ -46,7 +46,7 @@
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleVersion</key>
-       <string>129</string>
+       <string>131</string>
        <key>LSApplicationCategoryType</key>
        <string>public.app-category.utilities</string>
        <key>NSHumanReadableCopyright</key>