[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingListChanged
object:self
- userInfo:@{ @"mappings": _mappings,
- @"mapping": _currentMapping }];
+ userInfo:@{ NJMappingListKey: _mappings,
+ NJMappingKey: _currentMapping }];
}
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
[self updateInterfaceForCurrentMapping];
[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingChanged
- object:self
- userInfo:@{ @"mapping": _currentMapping }];
+ object:self
+ userInfo:@{ NJMappingKey : _currentMapping }];
}
- (IBAction)addPressed:(id)sender {