func withUnsafeMutablePointer<T, Result>(to: inout T, _: (UnsafeMutablePointer<T>) throws -> Result) Invokes body with an UnsafeMutablePointer to arg and returns the result. Useful for calling Objective-C APIs that take "in/out" parameters (and default-constructible "out" parameters) by pointer. Declaration func withUnsafeMutablePointer<T, Result>(to arg: inout T, _ body: (UnsafeMutablePointer<T>) throws -> Result) rethrows -> Result