Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.2 Project Overview

In this lesson, I'll give you a tour of our course project's source code and features. In this course we'll be building a demo ridesharing and messaging app that demonstrates the new features for developers in iOS 10—including sticker packs and Siri integration.

1.2 Project Overview

Hi, and welcome back to What's New In iOS 10. In this lesson, I will show you the finished course project and explain to you how the code is laid out. This is the finished app. It certainly doesn't look like much, but it's just there to trigger the really interesting things. On top, you have a button to trigger haptic feedback. You need an iPhone 7 for that and you have to run the app on the device, not in the simulator. In the lessons about SiriKit, we are using a fake rides object that randomly scatters rides around the city of Vienna. This map view visualizes the locations of the rides and allows you to change and tweak parameters and give you an indication of what you did. We won't build the map view in the course since we are focusing on Siri. On the bottom, you'll find a button to trigger a new notification for the lesson about custom interactive notifications. When you press it, a new birthday notification will be generated. You can interact with it and congratulate the person, which changes what the notification shows. In the messages app, you can see the sticker back extension I'm building in the first lesson. Those stickers can also be attached to textual messages. Finally, I wanted to show you how we are going to interact with Siri. Book me a ride with TutsplusCourses. [SOUND] >> Great, confirming you want to use TutsplusCourses? [SOUND] >> Yes. [SOUND] >> Where should they pick you up? >> Vienna State Opera. [SOUND] >> Where do you want to be dropped off? [SOUND] >> Vienna Airport. [SOUND] >> How many passengers are there? [SOUND] >> Just one. [SOUND] >> TutsplusCourses can be there. Do you want to request it? [SOUND] >> Yes. [SOUND] >> Your TutsplusCourses driver Sarah will be there in 7 minutes, driving an Awesome Car. >> Now, onto the code. The main app mainly consists of the view controller, where we generate the haptic feedback, and schedule the birthday notifications. The rest of the code here is for the visualization of the rides in the MapView. In the AppDelegate, I'm requesting authorization to use Siri and configure the notifications. The interesting part of the project will be all the extensions we are going to build. First, a CodeStickers extension that contains the Sticker Pack assets. Then there is one for SiriKit that contains the ride intent handler. Finally the BirthdaysNotifications extension, also a custom interactive user notifications. To support SiriKit, there are a few utility files in the main application. Fake rides is the brain of the operation and generates some vehicles and drivers that are available in the area. Those are created as models, and there are also some extensions I'm going to create throughout the course to integrate the models of SiriKit. As always the cost project will have separate Git commits for the different parts and the result of each lesson will be tagged with the lesson number. I hope you've got a good overview about the cost project. In the first lesson, I'm starting with an easy one, sticker packs. See you there.

Back to the top