Coordinator
class Coordinator: NSObject, @preconcurrency NSSharingServicePickerDelegate
-
The parent
Declaration
Swift
let parent: SharingServiceRepresentedView
-
Init the coordinator
Declaration
Swift
init(_ parent: SharingServiceRepresentedView)
-
Asks the delegate to provide an object that the selected sharing service can use as its delegate
Declaration
Swift
func sharingServicePicker( _ sharingServicePicker: NSSharingServicePicker, sharingServicesForItems items: [Any], proposedSharingServices proposedServices: [NSSharingService] ) -> [NSSharingService]
-
Tells the delegate that the person selected a sharing service for the current item
Declaration
Swift
func sharingServicePicker( _ sharingServicePicker: NSSharingServicePicker, didChoose service: NSSharingService? )