The sharing scope constants specify the nature of the things you are sharing.


enum SharingContentScope : Int



case item

Used when sharing a clearly identified item, for example, a file represented by its icon.

case partial

Used when sharing a portion of a more global content, for example, part of a webpage.

case full

Used when sharing the whole content of the current document, for example, the URL of the webpage.

See Also

Customizing Transition Animation

func sharingService(NSSharingService, sourceFrameOnScreenForShareItem: Any) -> NSRect

Invoked when the sharing service is performed and the sharing window is displayed, to present a transition between the original items and the sharing window.