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

Chapter 1. Exploring Xcode

Programming is not only about code, it is also about methodology. It doesn't matter how many years you've been programming with Xcode, there is always a new feature that can speed up your development, mainly nowadays that there is a new version every few months. Don't forget that Swift is a new language created to replace the old Objective-C, which means that Xcode also needs to adopt new features for this new programming language.

This book is about creating applications with the Swift programming language using Xcode 6 as an IDE. The idea behind these apps is to show how to create different kinds of real apps from scratch and this chapter presents with you some tricks on how to use Xcode.

Even if you are already a developer with years of experience in Xcode, it is worth reading this chapter because there is always a different way to do a task and it can be very helpful. So, let's start reviewing some Xcode and Swift features. In this chapter, we will cover:

  • Keyboard shortcuts

  • Versioning your project

  • Testing with Playground

  • Debugging

  • New Swift features

  • Some final comments