Foundation · IOS API REFERENCE
NSDictionary.Iterator
class · iOS 8.0+ · SDK 27.1
final class Iterator
A class that you use to provide members of a dictionary, one-by-one.
Members (1)
method · iOS 8.0+next
TypeScriptnext(): ({ "key": unknown; "value": unknown }) | null
Swift declarationfinal func next() -> (key: Any, value: Any)?
Returns the next key-value pair of a dictionary object as a tuple.
If all key-value pairs have been iterated over, this method returns `nil`.
Skipped declarations
No declarations were skipped in this snapshot.
All Foundation types →