A simple Swift application developed with UIKit, WebKit, and Safari Services frameworks to show a list of countries, add them to a saved list, and view details of countries. It uses GeoDB Cities API as the data source.
The Countries application is a simple application where users can view a list of countries, save the country, and read the details of it.
The project was written using Swift programming language. Swift is a powerful and intuitive programming language for iOS, iPadOS, macOS, tvOS, and watchOS. The app is only compatible with iOS which means it can only run on iPhones. I used Xcode IDE for creating the app.
The first page is the home page and it shows the list of countries as a table view. Each cell contains the country name and a button that appears as a star. The User can scroll the page, press on the cell to view the details of a country and press the star button to add the country to the saved list.
The second item of the tab bar directs the user to the saved page where the list of saved countries appears. The user can add or remove the country from that list and look for the details of a specific country.
The details page shows detailed information about a country. The country code, flag, and name of the country are shown on this page. The user can add or remove the country from the saved list via the star button on the right of the navigation bar. Also, the user can view the Wiki page of the country by pressing on the 'for more information' button.
- Language: Swift 5
- iOS 14.1
- Xcode IDE 12.1
- Frameworks:
- UIKit
- WebKit
- Safari Services