Push notifications out with more idiomatic semantics - controller as object, paramete...
[enjoyable.git] / Classes / NJOutputController.m
index 5d90bee..cf758e6 100644 (file)
 }
 
 - (void)mappingListDidChange:(NSNotification *)note {
-    NSArray *mappings = note.object;
+    NSArray *mappings = note.userInfo[@"mappings"];
     NJMapping *current = mappingPopup.selectedItem.representedObject;
     [mappingPopup.menu removeAllItems];
     for (NJMapping *mapping in mappings) {