Book Image

Swift Essentials - Second Edition

By : Alex Blewitt
Book Image

Swift Essentials - Second Edition

By: Alex Blewitt

Overview of this book

Swift was considered one of the biggest innovations last year, and certainly with Swift 2 announced at WWDC in 2015, this segment of the developer space will continue to be hot and dominating. This is a fast-paced guide to provide an overview of Swift programming and then walks you through in detail how to write iOS applications. Progress through chapters on custom views, networking, parsing and build a complete application as a Git repository, all by using Swift as the core language
Table of Contents (17 chapters)
Swift Essentials Second Edition
About the Author
About the Reviewer


Watch applications can run code in the same way that they run on an iOS device although the way in which they are uploaded to the watch is slightly different. Running code on the simulator is very different to running on a real device; the network and processor are much more limited than will be expected for a desktop class machine (or even an iOS device). As a result, testing on a real device is essential in order to test the full experience.

This chapter presented how watch applications and extensions are built, how they are packaged in the form of watch extensions and watch apps, and how they can share code with a parent application to avoid code duplication. The watch interface demonstrated how to transition between screens using segues to implement a watch extension of the iOS application that was created in the previous chapter.