projects
/
enjoyable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Missed userInfo keys.
[enjoyable.git]
/
Classes
/
NJMappingsController.m
diff --git
a/Classes/NJMappingsController.m
b/Classes/NJMappingsController.m
index
ad88d73
..
0db1111
100644
(file)
--- a/
Classes/NJMappingsController.m
+++ b/
Classes/NJMappingsController.m
@@
-52,7
+52,8
@@
[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingListChanged
object:self
[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingListChanged
object:self
- userInfo:@{ @"mappings": _mappings }];
+ userInfo:@{ NJMappingListKey: _mappings,
+ NJMappingKey: _currentMapping }];
}
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
}
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
@@
-107,8
+108,8
@@
[self updateInterfaceForCurrentMapping];
[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingChanged
[self updateInterfaceForCurrentMapping];
[NSNotificationCenter.defaultCenter
postNotificationName:NJEventMappingChanged
- object:self
-
userInfo:@{ @"mapping"
: _currentMapping }];
+
object:self
+
userInfo:@{ NJMappingKey
: _currentMapping }];
}
- (IBAction)addPressed:(id)sender {
}
- (IBAction)addPressed:(id)sender {