Skip to content

Commit

Permalink
Adjust method signature for compatibility with Xcode 7
Browse files Browse the repository at this point in the history
  • Loading branch information
akitchen committed Oct 2, 2016
1 parent 4555381 commit 92a6249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keycastr/KCAppController.m
Expand Up @@ -500,7 +500,7 @@ -(void) prefDisplayIconUpdatedTo:(NSInteger)prefDisplayIcon {
}
}

-(void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey,id> *)change context:(void *)context {
-(void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context {
if ([keyPath isEqualToString:kKCPrefDisplayIcon]) {
[self prefDisplayIconUpdatedTo:[[change objectForKey:NSKeyValueChangeNewKey] integerValue]];
}
Expand Down

0 comments on commit 92a6249

Please sign in to comment.