forEach(_:)
forEach(_:)
forEach(_:) Instance Method of XPCDictionary Calls the given closure with each key and value in the dictionary in the same order as a for-in loop.
func forEach(_ body: (String, xpc_object_t) throws -> Void) rethrowsParameters
body
A closure that takes a key and a value as parameters.
Discussion