Permalink
Browse files

Changed dictionary access from valueForKey to objectForKey

  • Loading branch information...
mattbischoff committed May 21, 2013
1 parent 1403f02 commit 12f48cb45bc7eed80d69456b7d7eb9140cfff2ae
Showing with 3 additions and 3 deletions.
  1. +3 −3 SSToolkit/NSDictionary+SSToolkitAdditions.m
@@ -79,11 +79,11 @@ - (NSString *)SHA1Sum {
- (id)safeObjectForKey:(id)key {
- id value = [self valueForKey:key];
- if (value == [NSNull null]) {
+ id object = [self objectForKey:key];
+ if (object == [NSNull null]) {
return nil;
}
- return value;
+ return object;
}
@end

0 comments on commit 12f48cb

Please sign in to comment.