RemoteConfigProperty
@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
@propertyWrapper
@MainActor
public struct RemoteConfigProperty<T> : DynamicProperty where T : DecodableA property wrapper that listens to a Remote Config value.
-
Remote Config key name for this property
Declaration
Swift
@MainActor public let key: String -
Undocumented
Declaration
Swift
@MainActor public var wrappedValue: T { get } -
Creates an instance by providing a config key.
Declaration
Swift
@MainActor public init(key: String, fallback: T)Parameters
keykey name
fallbackThe value to fall back to if the key doesn’t exist in remote or default configs