Open scheinem opened 11 years ago
On iOS 6.1 NSNumber's "numberWithString:" category-method returns nil instead of the right NSNumber.
Example:
NSNumber *test = [NSNumber numberWithString:@"14.14"];
On iOS <= 6.0 "test" has the float value "14.14" and on iOS 6.1 "test" is nil.
Weird. Works as advertised on this end.
NSLog(@"%@", [NSNumber numberWithString:@"14.14"]); // => NSNumberAdditionsRunner[20599:c07] 14.14
Xcode 4.6.3 + OS X 10.8.4
On iOS 6.1 NSNumber's "numberWithString:" category-method returns nil instead of the right NSNumber.
Example:
On iOS <= 6.0 "test" has the float value "14.14" and on iOS 6.1 "test" is nil.