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

Solution: Coffee roast for the order - iOS Tutorial

From the course: iOS Development: Siri Shortcuts

Start my 1-month free trial

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…

Contents