Do we need *both* associateAppEntity and to implement attributeSet when indexing App Entities?

I am working on adding indexing to my App Entities via IndexedEntity. I already, separately index my content via Spotlight.

Watching 'What's New in App Intents', this is covered well but I have a question.

Do I need to implement both CSSearchableItem's associateAppEntity AND also a custom implementation of attributeSet in my IndexedEntity conformance? It seems duplicative but I can't tell from the video if you're supposed to do both or just one or the other.

Answered by Hunter in 815588022

After spending more time, you can do both if you want to but you don't need to.

Accepted Answer

After spending more time, you can do both if you want to but you don't need to.

Do we need *both* associateAppEntity and to implement attributeSet when indexing App Entities?
 
 
Q