Instance Property


The preferred style for presenting the item provider's data.


var preferredPresentationStyle: NSItemProvider.PreferredPresentationStyle { get set }


The default preferred presentation style is NSItemProvider.PreferredPresentationStyle.unspecified.

See Also

Getting the Visual Attributes

var sourceFrame: NSRect

The rectangle (in screen coordinates) occupied by the item in the host app’s source window.

var containerFrame: NSRect

The rectangle (in screen coordinates) of the item’s visible content.

var preferredPresentationSize: CGSize

The ideal presentation size of the item.

enum NSItemProvider.PreferredPresentationStyle

The presentation styles that determine how a view should show an item provider's data.