ER: NSSharingService parameters

Originator:loganscollins
Number:rdar://12222990 Date Originated:02-Sep-2012 02:18 PM
Status:Open Resolved:No
Product:Mac OS X Product Version:10.8 / 12B19
Classification:Enhancement Reproducible:Not Applicable
 
Summary:
Sharing services should be able to take parameters for service-specific attributes. For example, the Compose Mail service should be able to take a list of recipients, a subject, etc. The Compose Message service should take a list of recipients, as well.

This could be as easy as exposing a "parameters" property on NSSharingService. The parameters could be secure coded across process boundaries through ShareKit, just as they are through XPC.

Steps to Reproduce:
Use NSSharingService. Be saddened by the fact that the Compose Mail service isn't nearly as useful as it is on iOS.

Expected Results:
The services should be more customizable on a per-service basis. The shared items shouldn't be the only thing that's mutable.

Example:
[service setParameters:@{
    NSSharingServiceComposeMessageRecipientsKey: @[@"jdoe@apple.com", @"logan@panic.com"],
    NSSharingServiceComposeMessageSubjectKey: @"Here's the items for which you asked"
}];

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!