Observed

@propertyWrapper
public final class Observed<V> : Codable where V : Decodable, V : Encodable

Undocumented

  • Undocumented

    Declaration

    Swift

    public var wrappedValue: V
  • Undocumented

    Declaration

    Swift

    public init(wrappedValue: V)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    public static subscript<E: Entity>(
        _enclosingInstance entity: E,
        wrapped wrappedKeyPath: ReferenceWritableKeyPath<E, V>,
        storage storageKeyPath: ReferenceWritableKeyPath<E, Observed>
    ) -> V
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws