An iterator over the members of a Dictionary<Key, Value>
.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
An iterator over the members of a Dictionary<Key, Value>
.
SDK
Framework
typealias Dictionary .Iterator .Element
The type of element traversed by the iterator.
var custom Mirror: Mirror
A mirror that reflects the iterator.
func next() -> (key: Key, value: Value)?
Advances to the next element and returns it, or nil
if no next element exists.
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.