<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/DynamicProperty",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15DynamicPropertyP"
  },
  "title" : "DynamicProperty"
}
-->

# DynamicProperty

An interface for a stored variable that updates an external property of a
view.

```
protocol DynamicProperty
```

## Overview

The view gives values to these properties prior to recomputing the view’s
[`body`](/documentation/SwiftUI/View/body-8kl5o).

## Topics

### Updating the value

[`update()`](/documentation/SwiftUI/DynamicProperty/update())

Updates the underlying value of the stored value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)