<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb" -->

---
title: Who Told The View To Update? | daily.dev
description: A practical guide to SwiftUI data flow covering the key property wrappers and macros: @State for local view state, @Binding for two-way parent-child...
canonical: https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Who Told The View To Update? | daily.dev
og:description: A practical guide to SwiftUI data flow covering the key property wrappers and macros: @State for local view state, @Binding for two-way parent-child...
og:url: https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb
og:image: https://api.daily.dev/og/posts/XVxTYdYsB.png
og:image:alt: Who Told The View To Update?
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# Who Told The View To Update?

**[Medium](https://daily.dev/sources/medium_js)** · 13 min read · 0 upvotes · 0 comments

## Summary

A practical guide to SwiftUI data flow covering the key property wrappers and macros: @State for local view state, @Binding for two-way parent-child communication, ObservableObject (legacy) vs the modern @Observable macro, @Bindable for two-way binding with observable models, and @Environment for app-wide global state injection. Each concept is explained with code examples and clear rules for when to use each approach, culminating in a quick-reference decision guide.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@karinearriivail/who-told-the-view-to-update-665a64511ca5>

## Similar posts on daily.dev

- [SwiftUI data dependencies and their effect on view updates](https://daily.dev/posts/swiftui-data-dependencies-and-their-effect-on-view-updates-2kp42i6if) · Nil Coalescing · 1 upvotes · 0 comments

---

Tags: [#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/who-told-the-view-to-update--xvxtydysb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Who Told The View To Update?","url":"https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb"},"datePublished":"2026-07-27T20:42:48.487Z","dateModified":"2026-07-27T20:44:06.394Z","description":"A practical guide to SwiftUI data flow covering the key property wrappers and macros: @State for local view state, @Binding for two-way parent-child...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/65d999d8281728fc265478ee5984a080?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/65d999d8281728fc265478ee5984a080?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Medium","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Medium","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/medium","url":"https://daily.dev/sources/medium_js"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/who-told-the-view-to-update--xvxtydysb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,swiftui","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Medium","item":"https://daily.dev/sources/medium_js"},{"@type":"ListItem","position":3,"name":"Who Told The View To Update?"}]}
```

