Streamlining Experiences with Siri

Over the past few years, Apple has provided developers with more and more opportunities to integrate their apps with iOS. One of these opportunities is in integrating your application with Siri using the SiriKit framework.

In this chapter, you will work on an existing application called Hairdressers. This application allows users to book an appointment with their hairdresser for a certain day, and can also message their hairdresser directly. You will learn how you can integrate Siri Intents extensions to allow users to message their hairdresser through Siri. You will also implement the new Siri shortcuts to allow users to quickly schedule their appointments with their regular hairdresser.

In this chapter, you will learn about the following topics:

  • Understanding intents
  • Implementing an intents extension
  • Adding a custom UI to a Siri intents extension
  • Integrating Siri Shortcuts in your app

If you want to follow along with the code samples in this chapter, make sure to grab the Hairdressers starter project from this book's code bundle. Make sure to examine the existing code, so you understand what's going on inside of the app. The code relies heavily on the knowledge you gained in Chapter 8, Adding Core Data to Your App, so you might want to keep that chapter nearby while you examine the starter code.