kaushaltheeG / LearningAPICalls

Learning how to make API calls with Swift & SwiftUI | MVVM | Combine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftUI & Network Calls

App Overview

A simple MVVM native iOS app that displays info about fake users. The data is fetched from an free test data api endpoint. Users are able to click on two buttons which either fetches the data using Combine or the non-Combine way.

Objective

  • Learning how to make network calls within a Swift iOS app
  • Comparing a Regular fetch and a Combine Fetch
  • Implementing proper folder structure & MVVM architecture

Architecture:

MVVM

Technologies:

  1. Swift
  2. SwiftUI
  3. Combine
  4. API Service

Local Installation

  1. Ensure you have the proper local envirnment for a Swift and SwiftUI app
  2. Download or clone repo to a non-cloud synced directory
  3. Open Xcode
  4. Build & Run the App

Project Source

About

Learning how to make API calls with Swift & SwiftUI | MVVM | Combine


Languages

Language:Swift 100.0%