-
Couldn't load subscription status.
- Fork 10
Compatible
This namespace is used to provide non-clashing variants to the DependencyKey protocol and the
@Dependency property wrapper.
public enum Compatible You can use this typealias if DependencyKey is clashing with other modules offering
a similarly named protocol.
public typealias DependencyKey = _Dependencies.DependencyKeyYou should be able to replace:
struct MainQueueKey: DependencyKey { … }by
struct MainQueueKey: Compatible.DependencyKey { … }You can use this typealias if @Dependency is clashing with other modules offering
a similarly named property wrapper.
public typealias Dependency = ComposableEnvironmentDependencyYou should be able to replace
@Dependency(\.mainQueue) var mainQueueby
@Compatible.Dependency(\.mainQueue) var mainQueueYou can use this typealias if @Dependency is clashing with other modules offering
a similarly named property wrapper.
public typealias Dependency = ComposableEnvironmentDependencyYou should be able to replace
@Dependency(\.mainQueue) var mainQueueby
@Compatible.Dependency(\.mainQueue) var mainQueueYou can use this typealias if DependencyKey is clashing with other modules offering
a similarly named protocol.
public typealias DependencyKey = _Dependencies.DependencyKeyYou should be able to replace:
struct MainQueueKey: DependencyKey { … }by
struct MainQueueKey: Compatible.DependencyKey { … }Generated at 2022-08-22T21:22:01+0000 using swift-doc 1.0.0-rc.1.