Categories
iOS SiriKit

Demystifying Siri, Part 7: Intents UI

At the end of Part 6 we finally reached our goal – our iOS device is finally able to solve a Countdown numbers game using voice alone. To round things off, let’s add a nice bit of UI that displays our calculation in NumberRace branding. In Part 5 we created an Intents extension. At the […]

Categories
iOS SiriKit

Demystifying Siri, Part 6: Enums in Custom Intents

At the end of Part 5 we came tantalisingly close to our goal of implementing a Countdown numbers game solver in Siri. But we hit a snag. Siri recognises the user saying “three” but not “eight”. What is going on here? Let’s take a look at the screenshots: There’s a clue there. When I say […]

Categories
iOS SiriKit

Demystifying Siri, Part 5: Intents Extensions

After a somewhat circuitous route we are now finally ready to implement our interactive voice-based interface to NumberRace. At the end of this part, Siri will ask us for a target number and six initial numbers and read out a solution. Mea culpa First, though, a confession. Is this really the best use of a […]

Categories
iOS SiriKit

Demystifying Siri, Part 4: Suggestions

In Part 1 of this series we were resigned to the fact that a user wasn’t immediately able to make use of Siri to solve numbers games using NumberRace. Our user has to go through the rigmarole of creating a shortcut and adding a spoken phrase before Siri is even aware of this functionality. You’ll […]

Categories
iOS SiriKit

Demystifying Siri, Part 3: Restoring User Activity

In Part 2, we created a custom intent in SiriKit to allow us to open our NumberRace app when our Solve Game shortcut is invoked. Next, we’re going to update NumberRace so that our solver is opened and populated with the data we provided. Restoration Firstly our application needs to respond to the invocation of […]

Categories
iOS SiriKit

Demystifying Siri, Part 2: Creating a Custom Intent

In Part 1 of our series on exploring Siri’s capabilities we discussed the possibility of creating a custom intent to make some of our app’s functionality accessible via Siri. At the end of this part we should be able to access our shortcut through the Shortcuts app, and by speaking a custom phrase in Siri. […]

Categories
iOS SiriKit

Demystifying Siri, Part 1: Introduction

The year 2020 is full of surprises – me rummaging through Siri documentation is one of the smaller ones. I had an idea for a new feature in one of my iOS apps and it quickly turned into an expedition into all things Siri. To save you embarking on a similar journey, I thought I’d […]