Instance Method


Process an incoming Mach message.


optional func handleMachMessage(_ msg: UnsafeMutableRawPointer)



A pointer to a Mach message, cast as a pointer to void.


The delegate should interpret this data as a pointer to a Mach message beginning with a msg_header_t structure and should handle the message appropriately.

The delegate should implement either handleMachMessage: or the PortDelegate protocol method handlePortMessage:.

See Also

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software