Automate common tasks with Siri Shortcuts. Learn how to implement Siri Shortcuts using NSUserActivity, as well as by creating custom intents.
Overview
Syllabus
Introduction
- Developing with Siri Shortcuts
- What you should know
- Using the exercise files
- What are Siri Shortcuts?
- Creating shortcuts using Shortcuts app
- Understanding Shortcuts APIs
- Understanding the structure of the app
- Creating shortcut using NSUserActivity
- Setting up developer options
- Restoring the app using shortcuts
- Adding voice shortcut
- Challenge: Displaying size and total
- Solution: Displaying size and total
- Adding intent definition file
- Donating the intent
- Setting up intents/intents UI project
- Implementing CoffeeOrderDataManager
- Using CoffeeOrderDataManager
- Placing order using custom intent
- Challenge: Coffee roast for the order
- Solution: Coffee roast for the order
- Implementing invoice user interface
- Displaying invoice view
- Implementing confirm order interface
- Displaying confirmation view
- Ordering coffee using voice shortcuts
- Challenge: Displaying name in confirm
- Solution: Displaying name in confirm
- Understanding custom responses
- Custom responses in intents definition
- Returning custom responses
- Enabling Siri shortcut testing
- Adding add to Siri button
- Adding Siri voice shortcuts from app
- Deleting an order
- Deleting donations
- Next steps
Taught by
Mohammad Azam