# Published

## Overview

Published (Property Wrapper) Automatically broadcasts observable changes via Observable Protocol

Structs with ObservedObject (Property Wrapper) grabs that broadcasted data.

So Published should be used with ObservableObject Protocol.&#x20;

## Sample Codes

```swift
```

## Sources

### Videos

{% embed url="<https://youtu.be/DPrAMnMKc34>" %}

...

{% embed url="<https://youtu.be/GqQdUzrJIkI>" %}
[Hacking with Swift / 100 Days / Day-49 - Adding Codable conformance for @Published properties](https://www.hackingwithswift.com/books/ios-swiftui/adding-codable-conformance-for-published-properties)
{% endembed %}

\#requiredinit #decoder #finalclass

...

### Articles / Documents

* [Hacking with Swift / What is the @Published property wrapper?](https://www.hackingwithswift.com/quick-start/swiftui/what-is-the-published-property-wrapper)
