Documentation For Custom NSExtensionItemActivation Rules Is Very Vague

Originator:brian.michel
Number:rdar://18150467 Date Originated:8/27/2014
Status:Open Resolved:No
Product:Documentation Product Version:
Classification: Reproducible:
 
Summary:
When creating an extension for your application, sometimes you'd like to include support for a custom data type that your application provides. This is useful for other applications to share data in the correct format across applications.

While Apple provides documentation here, https://developer.apple.com/library/prerelease/iOS/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW8, the included predicate does not include any of the values available in the existing keys for the extension. Such as, but not limited to;  NSExtensionActivationSupportsImageWithMaxCount, NSExtensionActivationSupportsMovieWithMaxCount, NSExtensionActivationSupportsText.

It would be helpful to either have documentation supporting how to do this, as making your own predicate is incredibly precarious considering there is no simple way to validate it.

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
App Extension Programming Guide: Handling Common Scenarios - https://developer.apple.com/library/prerelease/iOS/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html#//apple_ref/doc/uid/TP40014214-CH21-SW8

Notes:


Configuration:


Attachments:

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!