SwiftUI provides several property wrappers that can be used for programming. Here is a list of some of them:
- @State: This property wrapper is used to manage small amounts of value type data locally to a view. It owns its data⁵.
// Example
struct ContentView: View {
@State private var name = ""
var body: some View {
TextField("Enter your name", text: $name)