From the course: iOS Development: Siri Shortcuts
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Coffee roast for the order - iOS Tutorial
From the course: iOS Development: Siri Shortcuts
Solution: Coffee roast for the order
(upbeat music) - [Narrator] Alright so lets go ahead and get started with implementing the solution to add a coffee roast to our application. I'm going to go into the intense definition file and the first thing I'm going to add is inside the parameters, add a new parameter which will indicate the roast. We'll call it roast. The data type can be anything, but we're going to leave it string just so that its simple to use. Next, we're going to go into the shortcut types and remove the shortcut type and add a new one. This new one will consist of the coffee total five as well as roast. Lets go ahead and add that. Now we can go ahead and write a title for our type. So order, some size of coffee, which is roasted at a certain level, and we need to order a coffee which has the name of the coffee, and the total will be dollar sign total. Great, before running this also make sure that you reset your device or your…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Adding intent definition file5m 20s
-
(Locked)
Donating the intent6m 29s
-
(Locked)
Setting up intents/intents UI project7m 5s
-
(Locked)
Implementing CoffeeOrderDataManager3m 40s
-
(Locked)
Using CoffeeOrderDataManager3m 49s
-
Placing order using custom intent6m 22s
-
(Locked)
Challenge: Coffee roast for the order36s
-
(Locked)
Solution: Coffee roast for the order3m 52s
-
(Locked)
-
-
-