Contents

register(_:)

Adds representations of a specified transferable type to an item provider.

Declaration

func register<T>(_ transferable: @autoclosure  @escaping  @Sendable () -> T) where T : Transferable

See Also

Registering objects