enumerateKeysAndObjects(options:using:)
Applies a given block object to the entries of the dictionary, with options specifying how the enumeration is performed.
Declaration
func enumerateKeysAndObjects(options opts: NSEnumerationOptions = [], using block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Void)Parameters
- opts:
Enumeration options.
- block:
A block object to operate on entries in the dictionary.
Discussion
If the block sets *stop to true, the enumeration stops.