---
title: "Discussion on \"Dependency Inversion in SwiftUI: Programming to Protocols\" | Hashnode"
description: "Discussion on \"Dependency Inversion in SwiftUI: Programming to Protocols\". Of all the SOLID principles, the Dependency Inversion Principle (DIP) is the one that most directly enables testability and long-term flexibility. Yet it's also the most commonly misunderstood.\nDIP st"
url: "https://hashnode.com/posts/dependency-inversion-in-swiftui-programming-to-protocols/6a42d85b5b0e7bf5298aad59"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dependency Inversion in SwiftUI: Programming to Protocols](https://swiftuicentral.com/dependency-inversion-in-swiftui-programming-to-protocols?utm_source=hashnode&utm_medium=feed)

Of all the SOLID principles, the Dependency Inversion Principle (DIP) is the one that most directly enables testability and long-term flexibility. Yet it's also the most commonly misunderstood. DIP st

Jun 29 · 7 min read · swiftuicentral.com  
Read the article

## Written by

[Alexandre Alcuvilla](https://hashnode.com/@screwdriver)

@screwdriver

  
[View profile](https://hashnode.com/@screwdriver)

#SwiftUI #Swift #DesignPattern #CleanArchi #iOS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
