Conclusion
Adopting App Intents at its most basic is relatively straightforward. You need to define what you’re acting upon, your AppEntity
, and what you’re doing with it via your AppIntent
. With a few more lines of code to register dependencies with the App Intents system, and a quick registering of your model objects, you can easily get search working in your app. Plus, you’ve formed a basis to take advantage of other system experiences with just a bit more code.
Speaking of which, Siri is new to the App Intents system this year. In the next lesson, you’ll learn how to add support for Siri, including more complex activities.