Skip to content

This is the countries ios application that has been developed with UIKit, Swift and CoreData by me to improve myself and sharpen my skills

Notifications You must be signed in to change notification settings

MrIronstone/Countries-iOS-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Countries iOS App

The project I developed a countries ios application to learn CoreData, UIKit, Swift and networking.

List countries and can save countries to the database. When clicked on any country, there is a detailed view that shows flag, country code and button for wiki page

The app has 2 tab, one is "Main" tab that list coutries and the other is "Saved" to show saved countries

App demo

Countries.iOS.App.Demonstration.2.mp4

Demo Highlights

• Detail view properly handles the situation where the some details are not provided by the API.

• Used CoreData to store country informations when tapped on star icon

• All country datas provided by https://wft-geo-db.p.rapidapi.com API.

• When any country is saved or removed, it notifies the saved screen via swift's own Notification Center, and all the data that makes up the page and cells are recalculated.

Code Highlights

• Swift itself is unable to load SVG images to IUImage so I had to use external library such as SVGKit

• Uses Swift's Result type

• Every view has been created programmatically

• Each page loads 10 countries, thanks to the "limit 10" parameter in the network layer. When it comes to the bottom of the page, it automatically pulls the other page from the internet and merges it with the previous one. This way, both the pages contain little data and the next page can be loaded quickly and I get a fluent experience on UI.



Used UIKit Components

• CollectionView

• UINavigationController

• UITabBarController

• CoreData

About

This is the countries ios application that has been developed with UIKit, Swift and CoreData by me to improve myself and sharpen my skills

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages