Country List in SwiftUI with MVVM architecture. no pods, no Swift Package

Country_List_MVVM_SwiftUI

Country List in SwiftUI with MVVM architecture. no Pods, no Swift Packages.

Articles and documentation used:

Getting Started

Instructions to start working on Country_List_MVVM_SwiftUI

Requirements ?

  • Xcode 13
  • Swift 5

Setup ⚙

  1. Fork this repository or clone the repository
  2. Open Country List.xcodeproj with Xcode
  3. Done! Enjoy

Project Tree ?

.
├── Country List
│   ├── App
│   │   ├── CountryModule
│   │   │   ├── CountriesListViewModel.swift
│   │   │   ├── CountryDetailUI
│   │   │   ├── CountryListUI
│   │   │   └── CountryModel.swift
│   │   ├── Country_ListApp.swift
│   │   ├── Network
│   │   │   ├── CountryFetcher.swift
│   │   │   ├── NetworkConstants.swift
│   │   │   └── Responses
│   │   └── Routing
│   │       ├── RouterView.swift
│   │       └── ViewRouter.swift
│   └── Resources
│       ├── Assets.xcassets
│       ├── CountyTest.json
│       └── Preview Content
├── Country List.xcodeproj
├── Country ListTests
│   └── Country_ListTests.swift
└── Country ListUITests
    ├── Country_ListUITests.swift
    └── Country_ListUITestsLaunchTests.swift

Project Screenshots ?

I haven’t finished the automated tests yet, I have a branch for when I have them done.

GitHub

View Github