Swift5 shows a list of countries around the world

Time:2019-10-23

CountryCodeListSwift5 is a swift5 learning project. The main practiceUITableViewSwift, useHandyJsonConvert the json file read locally into an array of data models. The data source for the global list of countries is previously from a global list of countriessqlUse in the tablePythonWash out the data, after processing to form aJsonFile.

Each country mainly includes:The English name of the countryState abbreviationThe international code

The list of global countries has been carefully compiledJSONDocuments, data to do for overseas development students or have some help, can be used directly.

The demo address

Overview of demo structure:
Swift5 shows a list of countries around the world
Effect:
Swift5 shows a list of countries around the world

Recommended Today

Single and multiple buttons are styled with pictures

I’ve always seen people asking how to style and enlarge the buttons of radio buttons and multi buttons? Let’s share an example I did. 1. First make the button into a picture  2.html page Copy code The code is as follows: <!DOCTYPE HTML> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <script type=”text/javascript” src=”jquery-1.10.2.min.js”></script> <script type=”text/javascript”> […]