---
title: projectedValue
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/uiapplicationdelegateadaptor/projectedvalue
---

# projectedValue

A projection of the observed object that provides bindings to its properties.

## Declaration

```swift
@MainActor @preconcurrency var projectedValue: ObservedObject<DelegateType>.Wrapper { get }
```

## Discussion

Discussion Use the projected value to get a binding to a value that the delegate publishes. Access the projected value by prefixing the name of the delegate instance with a dollar sign ($). For example, you might publish a Boolean value in your application delegate: class MyAppDelegate: NSObject, UIApplicationDelegate, ObservableObject {     @Published var isEnabled = false

// ... } If you declare the delegate in your App using the UIApplicationDelegateAdaptor property wrapper, you can get the delegate that SwiftUI instantiates from the environment and access a binding to its published values from any view in your app: struct MyView: View {     @EnvironmentObject private var appDelegate: MyAppDelegate

var body: some View {         Toggle("Enabled", isOn: $appDelegate.isEnabled)     } }

## See Also

### Getting the delegate adaptor

- [wrappedValue](swiftui/uiapplicationdelegateadaptor/wrappedvalue.md)
