Instance Property

sourceFrame

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

Declaration

var sourceFrame: NSRect { get }

Discussion

This property contains the rectangle that encloses the item. This rectangle includes areas that might be clipped and not currently visible onscreen.

See Also

Getting the Visual Attributes

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.

enum NSItemProvider.PreferredPresentationStyle

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