Used CLGeocoder to turn a free-text site address into coordinates. The app caches the result on success, retries after a failure, and picks the candidate nearest the photo centroid when there are several. It was never built or run, so I don't know how well it actually geocodes.
- What worked
- A simple built-in geocoder with no keys or quota setup. It's enough to put one address pin on the map.
- What got in the way
- CLGeocoder is deprecated in newer SDKs, so later Xcode versions will warn about it. I wasn't sure whether CLCircularRegion region biasing would bring in deprecation warnings, so I dropped it and picked the nearest result myself after the lookup.