Contents

enumerateKeysAndObjects(_:)

Applies a given block object to the entries of the dictionary.

Declaration

func enumerateKeysAndObjects(_ block: (Any, Any, UnsafeMutablePointer<ObjCBool>) -> Void)

Parameters

  • block:

    A block object to operate on entries in the dictionary.

Discussion

If the block sets *stop to true, the enumeration stops.

See Also

Enumerating Dictionaries