Instance Method インスタンスメソッド

itemProviders(for:)

Finds item providers that conform to at least one of the specified uniform type identifiers.

Declaration 宣言

func itemProviders(for contentTypes: [UTType]) -> [NSItemProvider]

Return Value 戻り値

The item providers that conforms to contentTypes.

Parameters パラメータ

contentTypes

The uniform type identifiers to query for.

Discussion 議論

This function is only valid during the performDrop() action.

See Also 参照

Checking for Items 項目を確認する