---
title: "Why Dismissing View Models in SwiftUI is Stifling your App’s Maintainability and Testability (And the Proven Principles for a Better Architecture)"
url: https://daily.dev/posts/why-dismissing-view-models-in-swiftui-is-stifling-your-app-s-maintainability-and-testability-and-th-nqz1dnx9x
source_url: https://matteomanferdini.com/swiftui-viewmodel/
type: article
source: "Matteo Manferdini"
published: 2025-09-02T10:51:31.181Z
updated: 2026-03-15T06:56:06.688Z
tags: ["architecture", "general-programming", "ios", "swift", "swiftui"]
reading_time: 27
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Dismissing View Models in SwiftUI is Stifling your App’s Maintainability and Testability (And the Proven Principles for a Better Architecture)

**[Matteo Manferdini](https://daily.dev/sources/matteomanferdini)** · 27 min read · 0 upvotes · 0 comments

## Summary

Explores why view models remain essential in SwiftUI applications despite common arguments against them. Demonstrates how MVVM pattern improves testability, maintainability, and code reuse by separating business logic from views. Addresses misconceptions about Apple's stance on view models and shows how they work with frameworks like SwiftData. Provides practical implementation examples and argues against the MV pattern as overly restrictive.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://matteomanferdini.com/swiftui-viewmodel/>

## Similar posts on daily.dev

- [The Myth of the MV pattern: Why SwiftUI developers just reinvented MVC](https://daily.dev/posts/the-myth-of-the-mv-pattern-why-swiftui-developers-just-reinvented-mvc-ajka7v0jz) · Matteo Manferdini · 0 upvotes · 0 comments
- [Is SwiftData incompatible with MVVM? The standard answer betrays a deep misunderstanding of 3 key principles that drive SwiftUI’s architecture](https://daily.dev/posts/is-swiftdata-incompatible-with-mvvm-the-standard-answer-betrays-a-deep-misunderstanding-of-3-key-pr-7ykb9dvzq) · Matteo Manferdini · 1 upvotes · 0 comments
- [From broken to testable SwiftUI navigation: The decoupled approach of MVVM with coordinators](https://daily.dev/posts/from-broken-to-testable-swiftui-navigation-the-decoupled-approach-of-mvvm-with-coordinators-z3it7tnej) · Matteo Manferdini · 1 upvotes · 0 comments
- [Beyond Hype: The Evolving Android Architecture from Fat View Model to MVI](https://daily.dev/posts/beyond-hype-the-evolving-android-architecture-from-fat-view-model-to-mvi-cnyudxc0p) · ProAndroidDev · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#general-programming](https://daily.dev/tags/general-programming), [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/why-dismissing-view-models-in-swiftui-is-stifling-your-app-s-maintainability-and-testability-and-th-nqz1dnx9x)
