{"podcast":{"title":"Programming Tech Brief By HackerNoon","slug":"programming-tech-brief-by-hackernoon-6364125","podcast_index_feed_id":6364125,"rss_url":"https://feeds.transistor.fm/programming-tech-brief-by-hackernoon","website_url":"https://hackernoon.com/c/programming","image_url":"https://img.transistorcdn.com/AKbQjnYbCNDgF_frZ_Hpi8tkLS7aZezqecpWn6o-Rh8/rs:fill:0:0:1/w:1400/h:1400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQxMTY2LzE2ODM1/ODIzMzAtYXJ0d29y/ay5qcGc.jpg","author":"HackerNoon","episode_count":100,"summary":"Learn the latest programming updates in the tech world.","last_synced_at":"2026-07-29T06:19:42.842448+00:00","page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125"},"episode":{"title":"SwiftUI’s @State Is Now a Macro - What It Means for You","slug":"swiftui-s-state-is-now-a-macro-what-it-means-for-you","published_at":"2026-06-29T16:00:53+00:00","page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/swiftui-s-state-is-now-a-macro-what-it-means-for-you","show_page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125","url":"https://share.transistor.fm/s/8cfc6592","audio_url":"https://media.transistor.fm/8cfc6592/6582aa90.mp3","summary":"This story was originally published on HackerNoon at: https://hackernoon.com/swiftuis-state-is-now-a-macro-what-it-means-for-you . SwiftUI’s @State is now exposed as a macro. Learn what changed, how lazy initialization works, and how to use @State with @Observable models. Check more stories related to programming at: https://hackernoon.com/c/programming . You can also check exclusive content about #swift , #swiftui , #ios-app-development , #ios-development , #swift-programming , #apple , #swift-changes , #hackernoon-top-story , and more. This story was written by: @element . Learn more about this writer by checking @element's about page, and for more stories, please visit hackernoon.com . TL;DR: SwiftUI’s `@State` is now exposed as a macro, but everyday usage stays almost the same. The biggest practical change is lazy initialization: class instances stored in `@State`, such as `@Observable` view models, are created once for the lifetime of the view’s state storage instead of being re-created whenever the view struct is rebuilt.","meta_description":"This story was originally published on HackerNoon at: https://hackernoon.com/swiftuis-state-is-now-a-macro-what-it-means-for-you . SwiftUI’s @State is now…","key_points":[],"chapters":[],"topics":[],"duration_seconds":219,"processing_state":"not_requested","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/programming-tech-brief-by-hackernoon-6364125/episodes/swiftui-s-state-is-now-a-macro-what-it-means-for-you/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/swiftui-s-state-is-now-a-macro-what-it-means-for-you.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}