Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed dictionary access from valueForKey to objectForKey

  • Loading branch information...
commit 12f48cb45bc7eed80d69456b7d7eb9140cfff2ae 1 parent 1403f02
@mattbischoff mattbischoff authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 SSToolkit/NSDictionary+SSToolkitAdditions.m
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.