Skip to content

Swift Application to show countries using GeoDB Cities API

Notifications You must be signed in to change notification settings

crncck/Countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Countries - Swift App

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.


Table of Contents


General Information

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.


Pages

Home Page

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.


Saved Page

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.


Details Page

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.


Technologies

  • Language: Swift 5
  • iOS 14.1
  • Xcode IDE 12.1
  • Frameworks:
    • UIKit
    • WebKit
    • Safari Services

App Demonstration

About

Swift Application to show countries using GeoDB Cities API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages