A Swift wrapper of the XPC API