/todo-with-siri-shortcut

let's create a small project of TODO list with limited set of operations to explore Siri Shortcuts.

Primary LanguageSwift

Explore TODO list with Siri-shortcuts: In-progress

let's create a small project of TODO list with limited set of operations to explore Siri Shortcuts. Anish Dey

Parameters:

Task type - { listening, playing, studying, coding }

Perform time - provide a Date picker

Sub-task: 
	like if you are listening 
	- album name 

	studying 
	- book name

	playing 
	- game name

	coding 
	- code language

Objective:

  1. Want to create a task using "Siri-shortcut"

  2. It should be user-interactive - Primary Task and then Secondary Task. Siri should guide the user to perform certain set of actions.

  3. Promote "Add to Siri" Button inside the application & help the user to adport it.

  4. How to maintain the business logic between app target and Intents extension.

SiriKit Intents fundamental flow:

Screenshot 2020-06-08 at 8 49 20 PM

Xcode generates the swift files under build directory based on intents file definition:

Screenshot 2020-06-22 at 12 13 35 PM

UI flow:

Task History Page:

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 41 08

Create a new Task Page:

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 40 27

Siri suggestions from Spot-light search:

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 41 24

Siri short-cut application:

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 41 40

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 42 00

IntentsUI - confirm:

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 42 34

Simulator Screen Shot - iPhone 11 Pro Max - 2020-06-07 at 20 42 47

Define Intents:

Define Parameters:

Define Siri Shortcuts options combination:

Response:

How to solve Resolve - Confirm - Handle?