I have a memory leak, and I have no idea where it came from or how to fix it.
At some point, I compute the distance between two points.
double calc = [self getDistance:location to:otherLocation];
NSNumber *distance = [NSNumber numberWithDouble:calc];
in tools I get as a missing object NSCFNumber and it identifies
NSNumber *distance = [NSNumber numberWithDouble:calc];
like a string calling this.
I'm at a loss. Please, help.
thanks in advance, Michel
source
share