register(_:)
Adds representations of a specified transferable type to an item provider.
Declaration
func register<T>(_ transferable: @autoclosure @escaping @Sendable () -> T) where T : TransferableAdds representations of a specified transferable type to an item provider.
func register<T>(_ transferable: @autoclosure @escaping @Sendable () -> T) where T : Transferable