Swift 2 by Example Front Cover

Swift 2 by Example

  • Length: 406 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2016-04-06
  • ISBN-10: 1785882929
  • ISBN-13: 9781785882920
  • Sales Rank: #3096111 (See Top 100 Books)
Description

Key Features

  • Get up to speed with the new features of Swift 2 by following the exhaustive examples in this book
  • Specialize in developing real iOS apps, and 2D and 3D videogames using Swift and Cocoapods
  • Learn how to build server API apps to feed your iOS client apps

Book Description

Swift is no longer the unripe language it was when launched by Apple at WWDC14, now it’s a powerful and ready-for-production programming language that has empowered most new released apps.

Swift is a user-friendly language with a smooth learning curve; it is safe, robust, and really flexible.

Swift 2 is more powerful than ever; it introduces new ways to solve old problems, more robust error handling, and a new programming paradigm that favours composition over inheritance.

Swift 2 by Example is a fast-paced, practical guide to help you learn how to develop iOS apps using Swift. Through the development of seven different iOS apps and one server app, you’ll find out how to use either the right feature of the language or the right tool to solve a given problem.

We begin by introducing you to the latest features of Swift 2, further kick-starting your app development journey by building a guessing game app, followed by a memory game. It doesn’t end there, with a few more apps in store for you: a to-do list, a beautiful weather app, two games: Flappy Swift and Cube Runner, and finally an ecommerce app to top everything off.

By the end of the book, you’ll be able to build well-designed apps, effectively use AutoLayout, develop videogames, and build server apps.

What you will learn

  • Create a server in Swift to deliver JSON data to an iOS app
  • Take advantage of Cocoapods to use third-party libraries
  • Use a clean and effective architecture to decrease complexity and speed up development
  • Take advantage of the most useful parts of the iOS SDK
  • Build games with SpriteKit and SceneKit
  • Develop an app running on the cloud to act as an API server for your client’s apps

About the Author

Giordano Scalzo is a developer with 20 years of programming experience, since the days of the ZXSpectrum.

He has worked in C++, Java, .Net, Ruby, Python, and in so many other programming languages he has forgotten the names.

After years of backend development, over the past 5 years Giordano has developed extensively for iOS, releasing more than 20 apps―apps that he wrote for clients, enterprise applications, or on his own.

Currently, he is a contractor in London, where―through his company, Effective Code Ltd, http://effectivecode.co.uk―he delivers code for iOS, aiming at quality and reliability.

In his spare time, when he is not crafting retro game clones for iOS, he writes his thoughts at http://giordanoscalzo.com.

Table of Contents

Chapter 1. Welcome to the World of Swift
Chapter 2. Building a Guess the Number App
Chapter 3. A Memory Game in Swift
Chapter 4. A TodoList App in Swift
Chapter 5. A Pretty Weather App
Chapter 6. Flappy Swift
Chapter 7. Polishing Flappy Swift
Chapter 8. Cube Runner
Chapter 9. Completing Cube Runner
Chapter 10. ASAP – an E-commerce App in Swift
Chapter 11. ASAPServer, a Server in Swift

To access the link, solve the captcha.