Skip to content

Using SwiftUI, Combine, and GraphQL to create an app that has information about the continents and countries of the world

Notifications You must be signed in to change notification settings

myost/Around-the-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Around the World

What?

Around the World is a simple app that uses GraphQL and the @trevorblades Countries API to fetch data on countries and continents. The main branch of the project does this using a networking layer that I wrote based on articles by Donny Wals. The ATW_apollo branch does the same with the help of the Apollo iOS framework which implements local caching for requests. It uses the pattern from Modern MVVM and Combine to process and display the data in a swift app written in SwiftUI.

Why?

The combination frameworks and languages used to create this app are relatively new to the world of iPhone app development. In order to understand them all better I did what most any developer would probably do, start coding. To create this project I spent plenty of days pouring over all kinds of documentation, wrapping my head around the different concepts and then putting them to use. And now you get to see the result.

Helpful Links

Along the way I got help from various different online sources including: Apple Developer Documentation
Apple's SwiftUI Tutorials
Using Combine by Joseph Heck
GraphQL's Documentation
Donny Wals' articles on writing a networking layer using URLSession And Apollo iOS Documentation as well
And of course, the really smart coder people sitting in my corner - special thanks to you people!!

About

Using SwiftUI, Combine, and GraphQL to create an app that has information about the continents and countries of the world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages