struct
DictionaryIterator
<
Key
:
Hashable
,
Value
>
Inheritance |
CustomReflectable, IteratorProtocol
View Protocol Hierarchy →
|
---|---|
Import |
|
Instance Variables
Instance Methods
Advances to the next element and returns it, or nil
if no next element
exists.
Once nil
has been returned, all subsequent calls return nil
.
Declaration
mutating
func
next
() -
>
(
key
:
Key
,
value
:
Value
)?
An iterator over the members of a
Dictionary<Key, Value>
.