Documentation Archive Developer
Search

XPC Changes for Swift

XPC

Removed launch_data_type_t.value
Removed XPC_ACTIVITY_REQUIRE_BATTERY_LEVEL
Removed XPC_ACTIVITY_REQUIRE_HDD_SPINNING
DeclarationProtocols
From
struct launch_data_type_t {
    init(_ value: UInt32)
    var value: UInt32
}
--
To
struct launch_data_type_t : RawRepresentable {
    init(_ rawValue: UInt32)
    init(rawValue rawValue: UInt32)
    var rawValue: UInt32
}
RawRepresentable

Modified OS_xpc_object
DeclarationProtocols
From
protocol OS_xpc_object {
}
--
To
protocol OS_xpc_object : NSObjectProtocol {
}
NSObjectProtocol

Declaration
From
func launch_activate_socket(_ name: UnsafePointer<Int8>, _ fds: UnsafeMutablePointer<UnsafeMutablePointer<Int32>>, _ cnt: UnsafeMutablePointer<Int>) -> Int32
To
@warn_unused_result
func launch_activate_socket(_ name: UnsafePointer<Int8>, _ fds: UnsafeMutablePointer<UnsafeMutablePointer<Int32>>, _ cnt: UnsafeMutablePointer<Int>) -> Int32

Declaration
From
func launch_data_alloc(_ type: launch_data_type_t) -> launch_data_t
To
@warn_unused_result
func launch_data_alloc(_ type: launch_data_type_t) -> launch_data_t

Declaration
From
func launch_data_array_get_count(_ larray: launch_data_t) -> Int
To
@warn_unused_result
func launch_data_array_get_count(_ larray: launch_data_t) -> Int

Declaration
From
func launch_data_array_get_index(_ larray: launch_data_t, _ idx: Int) -> launch_data_t
To
@warn_unused_result
func launch_data_array_get_index(_ larray: launch_data_t, _ idx: Int) -> launch_data_t

Declaration
From
func launch_data_copy(_ ld: launch_data_t) -> launch_data_t
To
@warn_unused_result
func launch_data_copy(_ ld: launch_data_t) -> launch_data_t

Declaration
From
func launch_data_dict_get_count(_ ldict: launch_data_t) -> Int
To
@warn_unused_result
func launch_data_dict_get_count(_ ldict: launch_data_t) -> Int

Declaration
From
typealias launch_data_dict_iterator_t = CFunctionPointer<((launch_data_t, UnsafePointer<Int8>, UnsafeMutablePointer<Void>) -> Void)>
To
typealias launch_data_dict_iterator_t = (launch_data_t, UnsafePointer<Int8>, UnsafeMutablePointer<Void>) -> Void

Declaration
From
func launch_data_dict_lookup(_ ldict: launch_data_t, _ key: UnsafePointer<Int8>) -> launch_data_t
To
@warn_unused_result
func launch_data_dict_lookup(_ ldict: launch_data_t, _ key: UnsafePointer<Int8>) -> launch_data_t

Declaration
From
func launch_data_get_bool(_ ld: launch_data_t) -> Bool
To
@warn_unused_result
func launch_data_get_bool(_ ld: launch_data_t) -> Bool

Declaration
From
func launch_data_get_errno(_ ld: launch_data_t) -> Int32
To
@warn_unused_result
func launch_data_get_errno(_ ld: launch_data_t) -> Int32

Declaration
From
func launch_data_get_fd(_ ld: launch_data_t) -> Int32
To
@warn_unused_result
func launch_data_get_fd(_ ld: launch_data_t) -> Int32

Declaration
From
func launch_data_get_integer(_ ld: launch_data_t) -> Int64
To
@warn_unused_result
func launch_data_get_integer(_ ld: launch_data_t) -> Int64

Declaration
From
func launch_data_get_machport(_ ld: launch_data_t) -> mach_port_t
To
@warn_unused_result
func launch_data_get_machport(_ ld: launch_data_t) -> mach_port_t

Declaration
From
func launch_data_get_opaque(_ ld: launch_data_t) -> UnsafeMutablePointer<Void>
To
@warn_unused_result
func launch_data_get_opaque(_ ld: launch_data_t) -> UnsafeMutablePointer<Void>

Declaration
From
func launch_data_get_opaque_size(_ ld: launch_data_t) -> Int
To
@warn_unused_result
func launch_data_get_opaque_size(_ ld: launch_data_t) -> Int

Declaration
From
func launch_data_get_real(_ ld: launch_data_t) -> Double
To
@warn_unused_result
func launch_data_get_real(_ ld: launch_data_t) -> Double

Declaration
From
func launch_data_get_string(_ ld: launch_data_t) -> UnsafePointer<Int8>
To
@warn_unused_result
func launch_data_get_string(_ ld: launch_data_t) -> UnsafePointer<Int8>

Declaration
From
func launch_data_get_type(_ ld: launch_data_t) -> launch_data_type_t
To
@warn_unused_result
func launch_data_get_type(_ ld: launch_data_t) -> launch_data_type_t

Declaration
From
func launch_data_new_bool(_ val: Bool) -> launch_data_t
To
@warn_unused_result
func launch_data_new_bool(_ val: Bool) -> launch_data_t

Declaration
From
func launch_data_new_fd(_ fd: Int32) -> launch_data_t
To
@warn_unused_result
func launch_data_new_fd(_ fd: Int32) -> launch_data_t

Declaration
From
func launch_data_new_integer(_ val: Int64) -> launch_data_t
To
@warn_unused_result
func launch_data_new_integer(_ val: Int64) -> launch_data_t

Declaration
From
func launch_data_new_machport(_ val: mach_port_t) -> launch_data_t
To
@warn_unused_result
func launch_data_new_machport(_ val: mach_port_t) -> launch_data_t

Declaration
From
func launch_data_new_opaque(_ bytes: UnsafePointer<Void>, _ sz: Int) -> launch_data_t
To
@warn_unused_result
func launch_data_new_opaque(_ bytes: UnsafePointer<Void>, _ sz: Int) -> launch_data_t

Declaration
From
func launch_data_new_real(_ val: Double) -> launch_data_t
To
@warn_unused_result
func launch_data_new_real(_ val: Double) -> launch_data_t

Declaration
From
func launch_data_new_string(_ val: UnsafePointer<Int8>) -> launch_data_t
To
@warn_unused_result
func launch_data_new_string(_ val: UnsafePointer<Int8>) -> launch_data_t

Declaration
From
func launch_get_fd() -> Int32
To
@warn_unused_result
func launch_get_fd() -> Int32

Declaration
From
func launch_msg(_ request: launch_data_t) -> launch_data_t
To
@warn_unused_result
func launch_msg(_ request: launch_data_t) -> launch_data_t

Declaration
From
func xpc_activity_copy_criteria(_ activity: xpc_activity_t!) -> xpc_object_t!
To
@warn_unused_result
func xpc_activity_copy_criteria(_ activity: xpc_activity_t!) -> xpc_object_t!

Declaration
From
func xpc_activity_get_state(_ activity: xpc_activity_t) -> xpc_activity_state_t
To
@warn_unused_result
func xpc_activity_get_state(_ activity: xpc_activity_t) -> xpc_activity_state_t

Declaration
From
func xpc_activity_set_state(_ activity: xpc_activity_t, _ state: xpc_activity_state_t) -> Bool
To
@warn_unused_result
func xpc_activity_set_state(_ activity: xpc_activity_t, _ state: xpc_activity_state_t) -> Bool

Declaration
From
func xpc_array_create(_ objects: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_array_create(_ objects: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t!

Declaration
From
func xpc_array_create_connection(_ xarray: xpc_object_t, _ index: Int) -> xpc_connection_t!
To
@warn_unused_result
func xpc_array_create_connection(_ xarray: xpc_object_t, _ index: Int) -> xpc_connection_t!

Declaration
From
func xpc_array_dup_fd(_ xarray: xpc_object_t, _ index: Int) -> Int32
To
@warn_unused_result
func xpc_array_dup_fd(_ xarray: xpc_object_t, _ index: Int) -> Int32

Declaration
From
func xpc_array_get_bool(_ xarray: xpc_object_t, _ index: Int) -> Bool
To
@warn_unused_result
func xpc_array_get_bool(_ xarray: xpc_object_t, _ index: Int) -> Bool

Declaration
From
func xpc_array_get_count(_ xarray: xpc_object_t) -> Int
To
@warn_unused_result
func xpc_array_get_count(_ xarray: xpc_object_t) -> Int

Declaration
From
func xpc_array_get_data(_ xarray: xpc_object_t, _ index: Int, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void>
To
@warn_unused_result
func xpc_array_get_data(_ xarray: xpc_object_t, _ index: Int, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void>

Declaration
From
func xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64
To
@warn_unused_result
func xpc_array_get_date(_ xarray: xpc_object_t, _ index: Int) -> Int64

Declaration
From
func xpc_array_get_double(_ xarray: xpc_object_t, _ index: Int) -> Double
To
@warn_unused_result
func xpc_array_get_double(_ xarray: xpc_object_t, _ index: Int) -> Double

Declaration
From
func xpc_array_get_int64(_ xarray: xpc_object_t, _ index: Int) -> Int64
To
@warn_unused_result
func xpc_array_get_int64(_ xarray: xpc_object_t, _ index: Int) -> Int64

Declaration
From
func xpc_array_get_string(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<Int8>
To
@warn_unused_result
func xpc_array_get_string(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<Int8>

Declaration
From
func xpc_array_get_uint64(_ xarray: xpc_object_t, _ index: Int) -> UInt64
To
@warn_unused_result
func xpc_array_get_uint64(_ xarray: xpc_object_t, _ index: Int) -> UInt64

Declaration
From
func xpc_array_get_uuid(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<UInt8>
To
@warn_unused_result
func xpc_array_get_uuid(_ xarray: xpc_object_t, _ index: Int) -> UnsafePointer<UInt8>

Declaration
From
func xpc_bool_create(_ value: Bool) -> xpc_object_t!
To
@warn_unused_result
func xpc_bool_create(_ value: Bool) -> xpc_object_t!

Declaration
From
func xpc_connection_create(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!) -> xpc_connection_t!
To
@warn_unused_result
func xpc_connection_create(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!) -> xpc_connection_t!

Declaration
From
func xpc_connection_create_from_endpoint(_ endpoint: xpc_endpoint_t) -> xpc_connection_t!
To
@warn_unused_result
func xpc_connection_create_from_endpoint(_ endpoint: xpc_endpoint_t) -> xpc_connection_t!

Declaration
From
func xpc_connection_create_mach_service(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!, _ flags: UInt64) -> xpc_connection_t!
To
@warn_unused_result
func xpc_connection_create_mach_service(_ name: UnsafePointer<Int8>, _ targetq: dispatch_queue_t!, _ flags: UInt64) -> xpc_connection_t!

Declaration
From
func xpc_connection_get_asid(_ connection: xpc_connection_t) -> au_asid_t
To
@warn_unused_result
func xpc_connection_get_asid(_ connection: xpc_connection_t) -> au_asid_t

Declaration
From
func xpc_connection_get_context(_ connection: xpc_connection_t) -> UnsafeMutablePointer<Void>
To
@warn_unused_result
func xpc_connection_get_context(_ connection: xpc_connection_t) -> UnsafeMutablePointer<Void>

Declaration
From
func xpc_connection_get_egid(_ connection: xpc_connection_t) -> gid_t
To
@warn_unused_result
func xpc_connection_get_egid(_ connection: xpc_connection_t) -> gid_t

Declaration
From
func xpc_connection_get_euid(_ connection: xpc_connection_t) -> uid_t
To
@warn_unused_result
func xpc_connection_get_euid(_ connection: xpc_connection_t) -> uid_t

Declaration
From
func xpc_connection_get_name(_ connection: xpc_connection_t) -> UnsafePointer<Int8>
To
@warn_unused_result
func xpc_connection_get_name(_ connection: xpc_connection_t) -> UnsafePointer<Int8>

Declaration
From
func xpc_connection_get_pid(_ connection: xpc_connection_t) -> pid_t
To
@warn_unused_result
func xpc_connection_get_pid(_ connection: xpc_connection_t) -> pid_t

Declaration
From
typealias xpc_connection_handler_t = CFunctionPointer<((xpc_connection_t!) -> Void)>
To
typealias xpc_connection_handler_t = (xpc_connection_t!) -> Void

Declaration
From
func xpc_connection_send_message_with_reply_sync(_ connection: xpc_connection_t, _ message: xpc_object_t) -> xpc_object_t!
To
@warn_unused_result
func xpc_connection_send_message_with_reply_sync(_ connection: xpc_connection_t, _ message: xpc_object_t) -> xpc_object_t!

Declaration
From
func xpc_connection_set_finalizer_f(_ connection: xpc_connection_t, _ finalizer: xpc_finalizer_t)
To
func xpc_connection_set_finalizer_f(_ connection: xpc_connection_t, _ finalizer: xpc_finalizer_t!)

Declaration
From
func xpc_copy(_ object: xpc_object_t) -> xpc_object_t!
To
@warn_unused_result
func xpc_copy(_ object: xpc_object_t) -> xpc_object_t!

Declaration
From
func xpc_copy_description(_ object: xpc_object_t) -> UnsafeMutablePointer<Int8>
To
@warn_unused_result
func xpc_copy_description(_ object: xpc_object_t) -> UnsafeMutablePointer<Int8>

Declaration
From
func xpc_data_create(_ bytes: UnsafePointer<Void>, _ length: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_data_create(_ bytes: UnsafePointer<Void>, _ length: Int) -> xpc_object_t!

Declaration
From
func xpc_data_create_with_dispatch_data(_ ddata: dispatch_data_t) -> xpc_object_t!
To
@warn_unused_result
func xpc_data_create_with_dispatch_data(_ ddata: dispatch_data_t) -> xpc_object_t!

Declaration
From
func xpc_data_get_bytes(_ xdata: xpc_object_t, _ buffer: UnsafeMutablePointer<Void>, _ off: Int, _ length: Int) -> Int
To
@warn_unused_result
func xpc_data_get_bytes(_ xdata: xpc_object_t, _ buffer: UnsafeMutablePointer<Void>, _ off: Int, _ length: Int) -> Int

Declaration
From
func xpc_data_get_bytes_ptr(_ xdata: xpc_object_t) -> UnsafePointer<Void>
To
@warn_unused_result
func xpc_data_get_bytes_ptr(_ xdata: xpc_object_t) -> UnsafePointer<Void>

Declaration
From
func xpc_data_get_length(_ xdata: xpc_object_t) -> Int
To
@warn_unused_result
func xpc_data_get_length(_ xdata: xpc_object_t) -> Int

Declaration
From
func xpc_date_create(_ interval: Int64) -> xpc_object_t!
To
@warn_unused_result
func xpc_date_create(_ interval: Int64) -> xpc_object_t!

Declaration
From
func xpc_date_create_from_current() -> xpc_object_t!
To
@warn_unused_result
func xpc_date_create_from_current() -> xpc_object_t!

Declaration
From
func xpc_date_get_value(_ xdate: xpc_object_t) -> Int64
To
@warn_unused_result
func xpc_date_get_value(_ xdate: xpc_object_t) -> Int64

Declaration
From
func xpc_dictionary_create(_ keys: UnsafePointer<UnsafePointer<Int8>>, _ values: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_dictionary_create(_ keys: UnsafePointer<UnsafePointer<Int8>>, _ values: UnsafePointer<xpc_object_t?>, _ count: Int) -> xpc_object_t!

Declaration
From
func xpc_dictionary_create_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_connection_t!
To
@warn_unused_result
func xpc_dictionary_create_connection(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_connection_t!

Declaration
From
func xpc_dictionary_create_reply(_ original: xpc_object_t) -> xpc_object_t!
To
@warn_unused_result
func xpc_dictionary_create_reply(_ original: xpc_object_t) -> xpc_object_t!

Declaration
From
func xpc_dictionary_dup_fd(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int32
To
@warn_unused_result
func xpc_dictionary_dup_fd(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int32

Declaration
From
func xpc_dictionary_get_bool(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Bool
To
@warn_unused_result
func xpc_dictionary_get_bool(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Bool

Declaration
From
func xpc_dictionary_get_count(_ xdict: xpc_object_t) -> Int
To
@warn_unused_result
func xpc_dictionary_get_count(_ xdict: xpc_object_t) -> Int

Declaration
From
func xpc_dictionary_get_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void>
To
@warn_unused_result
func xpc_dictionary_get_data(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>, _ length: UnsafeMutablePointer<Int>) -> UnsafePointer<Void>

Declaration
From
func xpc_dictionary_get_date(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64
To
@warn_unused_result
func xpc_dictionary_get_date(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64

Declaration
From
func xpc_dictionary_get_double(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Double
To
@warn_unused_result
func xpc_dictionary_get_double(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Double

Declaration
From
func xpc_dictionary_get_int64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64
To
@warn_unused_result
func xpc_dictionary_get_int64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> Int64

Declaration
From
func xpc_dictionary_get_remote_connection(_ xdict: xpc_object_t) -> xpc_connection_t!
To
@warn_unused_result
func xpc_dictionary_get_remote_connection(_ xdict: xpc_object_t) -> xpc_connection_t!

Declaration
From
func xpc_dictionary_get_string(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<Int8>
To
@warn_unused_result
func xpc_dictionary_get_string(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<Int8>

Declaration
From
func xpc_dictionary_get_uint64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UInt64
To
@warn_unused_result
func xpc_dictionary_get_uint64(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UInt64

Declaration
From
func xpc_dictionary_get_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<UInt8>
To
@warn_unused_result
func xpc_dictionary_get_uuid(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> UnsafePointer<UInt8>

Declaration
From
func xpc_dictionary_get_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!
To
@warn_unused_result
func xpc_dictionary_get_value(_ xdict: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!

Declaration
From
func xpc_double_create(_ value: Double) -> xpc_object_t!
To
@warn_unused_result
func xpc_double_create(_ value: Double) -> xpc_object_t!

Declaration
From
func xpc_double_get_value(_ xdouble: xpc_object_t) -> Double
To
@warn_unused_result
func xpc_double_get_value(_ xdouble: xpc_object_t) -> Double

Declaration
From
func xpc_endpoint_create(_ connection: xpc_connection_t) -> xpc_endpoint_t!
To
@warn_unused_result
func xpc_endpoint_create(_ connection: xpc_connection_t) -> xpc_endpoint_t!

Declaration
From
func xpc_equal(_ object1: xpc_object_t, _ object2: xpc_object_t) -> Bool
To
@warn_unused_result
func xpc_equal(_ object1: xpc_object_t, _ object2: xpc_object_t) -> Bool

Declaration
From
func xpc_fd_create(_ fd: Int32) -> xpc_object_t!
To
@warn_unused_result
func xpc_fd_create(_ fd: Int32) -> xpc_object_t!

Declaration
From
func xpc_fd_dup(_ xfd: xpc_object_t) -> Int32
To
@warn_unused_result
func xpc_fd_dup(_ xfd: xpc_object_t) -> Int32

Declaration
From
typealias xpc_finalizer_t = CFunctionPointer<((UnsafeMutablePointer<Void>) -> Void)>
To
typealias xpc_finalizer_t = (UnsafeMutablePointer<Void>) -> Void

Declaration
From
func xpc_get_type(_ object: xpc_object_t) -> xpc_type_t
To
@warn_unused_result
func xpc_get_type(_ object: xpc_object_t) -> xpc_type_t

Declaration
From
func xpc_hash(_ object: xpc_object_t) -> Int
To
@warn_unused_result
func xpc_hash(_ object: xpc_object_t) -> Int

Declaration
From
func xpc_int64_create(_ value: Int64) -> xpc_object_t!
To
@warn_unused_result
func xpc_int64_create(_ value: Int64) -> xpc_object_t!

Declaration
From
func xpc_int64_get_value(_ xint: xpc_object_t) -> Int64
To
@warn_unused_result
func xpc_int64_get_value(_ xint: xpc_object_t) -> Int64

Declaration
From
func xpc_null_create() -> xpc_object_t!
To
@warn_unused_result
func xpc_null_create() -> xpc_object_t!

Modified xpc_object_t
Declaration
From
typealias xpc_object_t = NSObject
To
typealias xpc_object_t = OS_xpc_object

Declaration
From
func xpc_shmem_create(_ region: UnsafeMutablePointer<Void>, _ length: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_shmem_create(_ region: UnsafeMutablePointer<Void>, _ length: Int) -> xpc_object_t!

Declaration
From
func xpc_shmem_map(_ xshmem: xpc_object_t, _ region: UnsafeMutablePointer<UnsafeMutablePointer<Void>>) -> Int
To
@warn_unused_result
func xpc_shmem_map(_ xshmem: xpc_object_t, _ region: UnsafeMutablePointer<UnsafeMutablePointer<Void>>) -> Int

Declaration
From
func xpc_string_create(_ string: UnsafePointer<Int8>) -> xpc_object_t!
To
@warn_unused_result
func xpc_string_create(_ string: UnsafePointer<Int8>) -> xpc_object_t!

Declaration
From
func xpc_string_create_with_format_and_arguments(_ fmt: UnsafePointer<Int8>, _ ap: CVaListPointer) -> xpc_object_t!
To
@warn_unused_result
func xpc_string_create_with_format_and_arguments(_ fmt: UnsafePointer<Int8>, _ ap: CVaListPointer) -> xpc_object_t!

Declaration
From
func xpc_string_get_length(_ xstring: xpc_object_t) -> Int
To
@warn_unused_result
func xpc_string_get_length(_ xstring: xpc_object_t) -> Int

Declaration
From
func xpc_string_get_string_ptr(_ xstring: xpc_object_t) -> UnsafePointer<Int8>
To
@warn_unused_result
func xpc_string_get_string_ptr(_ xstring: xpc_object_t) -> UnsafePointer<Int8>

Declaration
From
func xpc_uint64_create(_ value: UInt64) -> xpc_object_t!
To
@warn_unused_result
func xpc_uint64_create(_ value: UInt64) -> xpc_object_t!

Declaration
From
func xpc_uint64_get_value(_ xuint: xpc_object_t) -> UInt64
To
@warn_unused_result
func xpc_uint64_get_value(_ xuint: xpc_object_t) -> UInt64

Declaration
From
func xpc_uuid_create(_ uuid: UnsafePointer<UInt8>) -> xpc_object_t!
To
@warn_unused_result
func xpc_uuid_create(_ uuid: UnsafePointer<UInt8>) -> xpc_object_t!