{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"@propertyWrapper"},{"kind":"text","text":" "},{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Dependency"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"D"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/swiftlibsdependency\/dependency"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"This property wrapper provides a direct connection to the "},{"type":"codeVoice","code":"DependencyService"},{"type":"text","text":" service."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Dependency"}],"title":"Dependency","roleHeading":"Structure","role":"symbol","symbolKind":"struct","externalID":"s:19SwiftLibsDependency0C0V","modules":[{"name":"SwiftLibsDependency"}],"navigatorTitle":[{"kind":"identifier","text":"Dependency"}]},"hierarchy":{"paths":[["doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency"]]},"topicSections":[{"title":"Initializers","identifiers":["doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency\/init(_:)"]},{"title":"Instance Properties","identifiers":["doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency\/wrappedValue"]}],"references":{"doc://SwiftLibsDependency/documentation/SwiftLibsDependency/Dependency":{"role":"symbol","title":"Dependency","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Dependency"}],"abstract":[{"type":"text","text":"This property wrapper provides a direct connection to the "},{"type":"codeVoice","code":"DependencyService"},{"type":"text","text":" service."}],"identifier":"doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Dependency"}],"url":"\/documentation\/swiftlibsdependency\/dependency"},"doc://SwiftLibsDependency/documentation/SwiftLibsDependency/Dependency/init(_:)":{"role":"symbol","title":"init(_:)","fragments":[{"kind":"identifier","text":"init"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"WritableKeyPath","preciseIdentifier":"s:s15WritableKeyPathC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"DependencyService","preciseIdentifier":"s:19SwiftLibsDependency0C7ServiceV"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"D"},{"kind":"text","text":">)"}],"abstract":[{"type":"text","text":"Initialise the property wrapper by setting a key path to a defined dependency."}],"identifier":"doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency\/init(_:)","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibsdependency\/dependency\/init(_:)"},"doc://SwiftLibsDependency/documentation/SwiftLibsDependency":{"role":"collection","title":"SwiftLibsDependency","abstract":[],"identifier":"doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibsdependency"},"doc://SwiftLibsDependency/documentation/SwiftLibsDependency/Dependency/wrappedValue":{"role":"symbol","title":"wrappedValue","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"wrappedValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"D"}],"abstract":[{"type":"text","text":"This property allows direct read\/write access to a defined dependency attached to a selected key path."}],"identifier":"doc:\/\/SwiftLibsDependency\/documentation\/SwiftLibsDependency\/Dependency\/wrappedValue","kind":"symbol","type":"topic","url":"\/documentation\/swiftlibsdependency\/dependency\/wrappedvalue"}}}