devsite/tools/jazzy/templates

FirebaseRemoteConfig Framework Reference

RemoteConfigProperty

@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
@propertyWrapper
public struct RemoteConfigProperty<T> : DynamicProperty where T : Decodable

A property wrapper that listens to a Remote Config value.

  • key

    Remote Config key name for this property

    Declaration

    Swift

    public let key: String
  • Undocumented

    Declaration

    Swift

    public var wrappedValue: T { get }
  • Creates an instance by providing a config key.

    Declaration

    Swift

    public init(key: String, fallback: T)

    Parameters

    key

    key name

    fallback

    The value to fall back to if the key doesn’t exist in remote or default configs