Structure

Dictionary.Iterator

An iterator over the members of a Dictionary<Key, Value>.

Declaration

struct Iterator

Topics

Instance Properties

var customMirror: Mirror

A mirror that reflects the iterator.

Instance Methods

func next() -> (key: Key, value: Value)?

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

Relationships

From Protocol

See Also

Supporting Types

struct Dictionary.Keys

A view of a dictionary’s keys.

struct Dictionary.Values

A view of a dictionary’s values.

struct Dictionary.Index

The position of a key-value pair in a dictionary.