Country_List_MVVM_SwiftUI
Country List in SwiftUI with MVVM architecture. no Pods, no Swift Packages.
Articles and documentation used:
- https://developer.apple.com/tutorials/swiftui/building-lists-and-navigation
- https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html
Getting Started
Instructions to start working on Country_List_MVVM_SwiftUI
Requirements ?
- Xcode 13
- Swift 5
Setup ⚙
- Fork this repository or clone the repository
- Open Country List.xcodeproj with Xcode
- 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.