---
title: "Discussion on \"From ObservableObject to @Observable Macro: SwiftUI State Guide\" | Hashnode"
description: "Discussion on \"From ObservableObject to @Observable Macro: SwiftUI State Guide\". How to upgrade your SwiftUI apps from ObservableObject to the @Observable macro. Reduce boilerplate and improve performance."
url: "https://hashnode.com/posts/swiftui-observable-macro-migration-guide/699d1c72337bfd9d28fec5f4"
---

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

Discussion

# [From ObservableObject to @Observable Macro: SwiftUI State Guide](https://blog.sajidhasan.com/swiftui-observable-macro-migration-guide?utm_source=hashnode&utm_medium=feed)

How to upgrade your SwiftUI apps from ObservableObject to the @Observable macro. Reduce boilerplate and improve performance.

Feb 24 · 4 min read · blog.sajidhasan.com  
Read the article

-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui-tutorial](https://hashnode.com/tag/swiftui-tutorial)
-   [#observable](https://hashnode.com/tag/observable)
-   [#ios](https://hashnode.com/tag/ios)
-   [#state-management](https://hashnode.com/tag/state-management)
-   [#ios-development](https://hashnode.com/tag/ios-development)
-   [#bindable](https://hashnode.com/tag/bindable)
-   [#from-observableobject-to-observable-macro-swiftui-state-guide](https://hashnode.com/tag/from-observableobject-to-observable-macro-swiftui-state-guide)
-   [#modern-swiftui-patterns](https://hashnode.com/tag/modern-swiftui-patterns)
-   [#observable-macro](https://hashnode.com/tag/observable-macro)
-   [#observableobject](https://hashnode.com/tag/observableobject)
-   [#observableobject-vs-observable](https://hashnode.com/tag/observableobject-vs-observable)
-   [#passing-data-to-child-view-swiftui](https://hashnode.com/tag/passing-data-to-child-view-swiftui)
-   [#swiftui-macro](https://hashnode.com/tag/swiftui-macro)
-   [#swiftui-performance](https://hashnode.com/tag/swiftui-performance)
-   [#swiftui-performance-tips](https://hashnode.com/tag/swiftui-performance-tips)
-   [#swiftui-state-management](https://hashnode.com/tag/swiftui-state-management)

## Written by

[Sajid Hasan Shanta](https://hashnode.com/@snta)

@snta · Dhaka, Bangladesh

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

iOS Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
