Enumeration

NSItemProvider.PreferredPresentationStyle

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

Declaration

enum PreferredPresentationStyle : Int

Topics

Presentation Styles

case unspecified

A presentation style indicating that no preferred style is specified.

case inline

A presentation style indicating that the item provider data should be presented inline.

case attachment

A presentation style indicating that the item provider data should be presented as an attachment.

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.

var preferredPresentationStyle: NSItemProvider.PreferredPresentationStyle

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