Book Image

Swift 2 Blueprints

By : Cecil Costa
Book Image

Swift 2 Blueprints

By: Cecil Costa

Overview of this book

In this book, you will work through seven different projects to get you hands-on with developing amazing applications for iOS devices. We start off with a project that teaches you how to build a utility app using Swift. Moving on, we cover the concepts behind developing an entertainment or social networking related application, for example, a small application that helps you to share images, audio, and video files from one device to another. You’ll also be guided through create a city information app with customized table views, a reminder app for the Apple Watch, and a game app using SpriteKit. By the end of this book, you will have the required skillset to develop various types of iOS applications with Swift that can run on different iOS devices. You will also be well versed with complex techniques that can be used to enhance the performance of your applications.
Table of Contents (15 chapters)
Swift 2 Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Project overview


The idea behind this project is to create an iOS app with an Apple Watch extension that will control the contents of your fridge. To set up the fridge contents, you need to use an iPhone device. However, the notification that the fridge is running out of food will be sent via Apple Watch.

You will also be able to use MapKit to guide you to the supermarket. The Watch app will only display the supermarket's location, while the iOS app will provide the directions to the supermarket.

Note

Till date, it has not been possible to create an Apple Watch app that is not linked to an iOS app, meaning that you always have to create an iOS app, even if it is an empty application.

watchOS 2 is the version you should use for this app; it is slightly different from the previous one. Ensure that you are using the correct simulator version or that you have updated your watch operating system. The Xcode version must be at least 7; don't use Xcode 6, except when you are developing for watchOS 1...