withUnsafeUnderlyingDictionary(_:)
Calls a closure with an unsafe reference to the dictionary.
Declaration
func withUnsafeUnderlyingDictionary<ReturnType>(_ closure: (xpc_object_t) throws -> ReturnType) rethrows -> ReturnTypeParameters
- closure:
A closure that takes an Xpc_object_t parameter. If
closurehas a return value, that value is also used as the return value for the withUnsafeUnderlyingDictionary(body:) function.
Return Value
The return value, if any, of the closure.