forEach(_:)
forEach(_:)
forEach(_:) Instance Method of XPCDictionary Calls the given closure with each element in the dictionary in the same order as a for-in loop.
func forEach(_ body: (XPCDictionary.KeyValuePair) throws -> Void) rethrowsParameters
body
A closure that takes an element of the sequence as a parameter.
Discussion