Not sure where in the code this is suppose to be placed. I think it belongs in updateLabels()
➤ Replace the contents of the geocoding closure with the following:
self.lastGeocodingError = error
if error == nil, let places = placemarks, !places.isEmpty {
self.placemark = places.last!
} else {
self.placemark = nil
}
self.performingReverseGeocoding = false
self.updateLabels()