Description
iOS Clean Architecture MVVM is a template iOS app on GitHub that shows how to structure an iPhone app with Clean Architecture and MVVM. It splits the code into three layers: a domain layer of entities, use cases and repository interfaces; a data layer with repository implementations, the network API and persistence; and a presentation layer of view models and views. The domain layer should not depend on UIKit, SwiftUI or the data layer. The project uses data binding with observables and no third-party libraries, along with dependency injection, a flow coordinator, data transfer objects, response caching, and error handling in both the view model and networking. It includes pagination, unit tests for use cases, view models and the network service, dark mode, empty states with a search button, and the UIScene life cycle required by the iOS 26 SDK. The sample app searches for movies and saves each successful search. Most views use Storyboards, one view is written in SwiftUI to show that the view model stays the same. A separate repository builds the same app with views in code.…
Highlights
- Clean Architecture with domain, data and presentation layers
- MVVM with observables and no third-party libraries
- Unit tests for use cases, view models and networking
- SwiftUI and UIKit views sharing one view model
Ratings & Reviews
No ratings yet
Be the first to rate IOS-Clean-Architecture-MVVM.
People also visit
IOSSampleApp
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
UpcomingMovies
Movies app written in Swift 5 using the TMDb API and demonstrating Clean…
Ios Viper Xcode Templates
Used for generating template files for the VIPER architecture
IOS-Clean-Architecture-MVVM FAQ
What is this project?
A template iOS app on GitHub that shows Clean Architecture with MVVM, using a movie search example.
Can I start a new app from it?
Yes. The README says it can be used as a template by replacing the Movie item name.
What are the requirements?
Xcode 14 or newer, Swift 5.7 or newer, and iOS 15.0 or newer.
Does it include tests?
Yes. Unit tests cover the use cases, the view models and the network service.
Does it use SwiftUI?
Most views use UIKit with Storyboards. One view is written in SwiftUI to show that the presentation layer can be swapped without changing the view model.
Is there a version without Storyboards?
Yes. A separate repository builds the same views in code with UITableViewDiffableDataSource.
What are the best IOS-Clean-Architecture-MVVM alternatives?
Popular alternatives to IOS-Clean-Architecture-MVVM include IOS-Modular-Architecture, IOSSampleApp and RxStudy. See all IOS-Clean-Architecture-MVVM alternatives








