You did not mention what the warning is, but most likely because you forgot @before the NSLog lines:
NSLog(@"User latitude is: %f", self.locModel.userLocation.coordinate.latitude );
NSLog(@"User longitude is: %f", self.locModel.userLocation.coordinate.longitude );
Your updated code should be:
NSLog(@"User latitude is: %@", tmpLat);
NSLog(@"User longitude is: %@", tmpLong);
NSLog expects an NSString parameter that requires the @ sign before. Unsigned @ string is a simple C string, not an NSString object.
source
share