Contents

Value

The type of the key’s value.

Declaration

associatedtype Value

Discussion

Swift typically infers this type from your implementation of the defaultValue property, so you don’t have to define it explicitly.

See Also

Providing a default value