<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppDependency",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A10DependencyC"
  },
  "title" : "AppDependency"
}
-->

# AppDependency

A property wrapper that resolves a registered dependency at runtime.

```
@propertyWrapper final class AppDependency<Value> where Value : Sendable
```

## Topics

### Initializers

[`convenience init(key: AnyHashable?, manager: AppDependencyManager)`](/documentation/AppIntents/AppDependency/init(key:manager:))

[`convenience init(key: AnyHashable?, manager: AppDependencyManager, default: () async throws -> Value)`](/documentation/AppIntents/AppDependency/init(key:manager:default:)-226je)

[`convenience init(key: AnyHashable?, manager: AppDependencyManager, default: @autoclosure () -> Value)`](/documentation/AppIntents/AppDependency/init(key:manager:default:)-wvhz)

### Instance Properties

[`var projectedValue: AppDependency<Value>`](/documentation/AppIntents/AppDependency/projectedValue)

[`var wrappedValue: Value`](/documentation/AppIntents/AppDependency/wrappedValue)

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)