---
title: "Using the Observations framework to observe model properties – Donny Wals"
url: https://daily.dev/posts/using-the-observations-framework-to-observe-model-properties-donny-wals-teewlgf0o
source_url: https://www.donnywals.com/using-the-observations-framework-to-observe-model-properties/
type: article
source: "Donny Wals"
published: 2025-09-24T11:36:01.962Z
updated: 2025-09-24T11:36:24.954Z
tags: ["ios", "swift", "swiftui", "xcode"]
reading_time: 8
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.

# Using the Observations framework to observe model properties – Donny Wals

**[Donny Wals](https://daily.dev/sources/donnywals)** · 8 min read · 0 upvotes · 0 comments

## Summary

Swift 6.2 introduces the Observations framework as a new way to observe properties of @Observable models outside of SwiftUI views. This replaces the clunky withObservationTracking function with an AsyncSequence-based approach that provides cleaner syntax and 'did set' semantics. The framework allows developers to create observation sequences that emit values when model properties change, but requires careful memory management to avoid retain cycles and may miss values if consumption is slower than production.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.donnywals.com/using-the-observations-framework-to-observe-model-properties/>

## Similar posts on daily.dev

- [Building AI Agents in Kotlin – Part 3: Under Observation](https://daily.dev/posts/building-ai-agents-in-kotlin-part-3-under-observation-dmm837evh) · JetBrains · 0 upvotes · 0 comments
- [On Agent Frameworks and Agent Observability](https://daily.dev/posts/on-agent-frameworks-and-agent-observability-cel2fb3ng) · LangChain · 6 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui), [#xcode](https://daily.dev/tags/xcode)

[View this post on daily.dev](https://daily.dev/posts/using-the-observations-framework-to-observe-model-properties-donny-wals-teewlgf0o)
