Documentation Archive Developer
Search

XPC Changes for Swift

XPC

Declaration
From
@warn_unused_result
func xpc_array_get_array(_ `self`: xpc_object_t, _ index: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_array_get_array(_ self: xpc_object_t, _ index: Int) -> xpc_object_t!

Declaration
From
@warn_unused_result
func xpc_array_get_dictionary(_ `self`: xpc_object_t, _ index: Int) -> xpc_object_t!
To
@warn_unused_result
func xpc_array_get_dictionary(_ self: xpc_object_t, _ index: Int) -> xpc_object_t!

Declaration
From
@warn_unused_result
func xpc_dictionary_get_array(_ `self`: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!
To
@warn_unused_result
func xpc_dictionary_get_array(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!

Declaration
From
@warn_unused_result
func xpc_dictionary_get_dictionary(_ `self`: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!
To
@warn_unused_result
func xpc_dictionary_get_dictionary(_ self: xpc_object_t, _ key: UnsafePointer<Int8>) -> xpc_object_t!