How to generate a list of choice from a json file when user taps textfield

I’m developing an iOS app in which I need user to select his country. I’ve a countries.json file having hundred of countries names and other information. Now on sign up I want this list to show and sort as user type in the alphabets as shown in figure: Typing M gives Gender
I’m following this example. But it is not reading from a .json file. So any github library for that or any changes in example link?
I don’t what to call this type of thing exactly may be that is why I didn’t find much on it while googling. Any help will be appreciated.

Source: json

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.