Post #3152899
2026-05-12 23:49 UTC
I need to create a list of locations in a macOS app based on a partial string. For example, the user enters "salem" and the app returns a list of suggested cities that are named Salem. What are my options for getting a list of suggested locations based on a partial string? Is MKLocalSearchCompleter the best solution here or is there something newer I can use?
#macOS #swiftlang #swiftui
Replies (1)
-
@j4ck@iosdev.space 2026-05-15 12:09
@wigging@fosstodon.org you want a geocoding API https://en.wikipedia.org/wiki/Address_geocoding