NSUserActivity and Core Spotlight lacks documentation

Originator:futuretap
Number:rdar://22352102 Date Originated:20-Aug-2015 12:47 AM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0 beta 5
Classification:Enhancement Reproducible:Always
 
The current documentation is poor in many ways:

- Core Spotlight classes (e.g. CSSearchableItemAttributeSet) don't shop up in Xcode's documentation browser (only on developer.apple.com and in the header files)
- Setting relatedUniqueIdentifier for a NSUserActivity item prevents indexing (rdar://21958439). It's totally unclear why and how to deal with this.
- It is unclear which CSSearchableItemAttributeSet.contentType should be used in order to have properties from the different CSSearchableItemAttributeSet categories such as CSPlaces or CSDocuments show up in search results.
- It is unclear if properties from different CSSearchableItemAttributeSet categories may be mixed.
- Generally, it's not documented which properties actually are displayed in search results at all.

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!