Instance Method

unkeyedContainer()

Returns an encoding container appropriate for holding multiple unkeyed values.

Required.

Declaration

func unkeyedContainer() -> UnkeyedEncodingContainer

Return Value

A new empty unkeyed container.

Discussion

You must use only one kind of top-level encoding container. This method must not be called after a call to container(keyedBy:) or after encoding a value through a call to singleValueContainer()