I have this C
method:
.h
NSString *NSStringFromMKMapPoint(MKMapPoint mapPoint);
.m
NSString *NSStringFromMKMapPoint(MKMapPoint mapPoint) {
return [NSString stringWithFormat:@"%i,%i", (int)mapPoint.x, (int)mapPoint.y];
}
Trying to set an NSString using the return value, as so:
NSString *tilePointString = NSStringFromMKMapPoint(tilePoint);
is giving me this error:
Implicit conversion of 'int' to 'NSString *' is disallowed with ARC