service()
Returns the singleton listener used to listen for incoming connections in an XPC service.
Declaration
class func service() -> NSXPCListenerDiscussion
Calling the resume method on the returned object starts the listener and never returns. This method is typically called at the end of your main function.