App Intents and the Document App Xcode Template

I’m working on an app that deals with a list of text items, so I started with the document app template in Xcode.

I have the app basically doing what I want it to do, but I want to be a good ecosystem citizen, so I’d like to conform to app intents. I think that app intents will able to do what I want - accepting text and passing it back out - but I can’t figure out how to access the document outside of my content view and associated subviews.

Any guidance would be appreciated.

Thank you, Don Carlile

App Intents and the Document App Xcode Template
 
 
Q