Structure

Dictionary.Values.Iterator

A type that provides the collection’s iteration interface and encapsulates its iteration state.

Declaration

@frozen struct Iterator

Overview

By default, a collection conforms to the Sequence protocol by supplying IndexingIterator as its associated Iterator type.

Topics

Type Aliases

typealias Dictionary.Values.Iterator.Element

The type of element traversed by the iterator.

Instance Methods

func next() -> Value?

Advances to the next element and returns it, or nil if no next element exists.

Relationships

From Protocol