O'Reilly logo

Arduino iOS Blueprints by Fabrizio Boco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

iOS code

In this chapter, we are going to look at the iOS application to manually turn on and off the electrical appliance and managing the activations for the automatic operations.

The full code of this project can be downloaded from here:

https://www.packtpub.com/books/content/support

To better understand the explanations in the next paragraphs, you should open the downloaded code while reading.

Creating the Xcode project

The first step is to create a new project. We are going to use the template Tabbed Application again, because it provides two view controllers. In this project, we will also add another one.

Let's create a new Tabbed Application project exactly as you did in the previous chapter and name it PowerPlug. Then:

  1. Rename FirstViewController ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required