Skip to content

TheikChan/CurrencyConverterDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CurrencyConverter

Features

Architecture

MVVM (Model-View-ViewModel) pattern combined with a Repository Pattern

Layers

  1. Presentation Layer (SwiftUI + MVVM):

    • Views: SwiftUI views that observe the ViewModel for state changes.
    • ViewModels: Responsible for UI logic, data transformation, and handling user input.
  2. Data Layer (Repository & Network):

    • Repository: Acts as a single source of truth to fetch data from the network
    • API Client: Handles API requests using URLSession and JSONDecoder to decodes JSON responses.

About

SwiftUI, Concurrency

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages