Permalink
Browse files

Update to use ARC

  • Loading branch information...
1 parent a72dae4 commit 048aec892af6eafd708b83ab687bbe2257ef0442 @atomicbird committed Feb 21, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 NSObject+setValuesForKeysWithJSONDictionary.m
@@ -56,7 +56,6 @@ - (void)setValuesForKeysWithJSONDictionary:(NSDictionary *)keyedValues dateForma
NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter setNumberStyle:NSNumberFormatterDecimalStyle];
value = [numberFormatter numberFromString:value];
- [numberFormatter release];
} else if ([class isSubclassOfClass:[NSDate class]] && [value isKindOfClass:[NSString class]] && (dateFormatter != nil)) {
value = [dateFormatter dateFromString:value];
}
@@ -80,7 +79,6 @@ - (void)setValuesForKeysWithJSONDictionary:(NSDictionary *)keyedValues dateForma
NSNumberFormatter *numberFormatter = [[NSNumberFormatter alloc] init];
[numberFormatter setNumberStyle:NSNumberFormatterDecimalStyle];
value = [numberFormatter numberFromString:value];
- [numberFormatter release];
}
break;
}

0 comments on commit 048aec8

Please sign in to comment.