I'm trying to make a country and state textfield auto-complete and I have all records the in JSON from a server database, but I don't know how to call the JSON inside Xcode and assign to the autocomplete textfield.
How can I consult this data when the user is typing?