Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to use ARC

  • Loading branch information...
commit 048aec892af6eafd708b83ab687bbe2257ef0442 1 parent a72dae4
@atomicbird authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  NSObject+setValuesForKeysWithJSONDictionary.m
View
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.