Swift 2 By Example

Create robust and extensible iOS apps using the advanced features of Swift 2
Preview in Mapt

Swift 2 By Example

Giordano Scalzo

1 customer reviews
Create robust and extensible iOS apps using the advanced features of Swift 2
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Swift 2 By Example Book Cover
Swift 2 By Example
$ 35.99
$ 25.20
.NET Core 2.0 By Example Book Cover
.NET Core 2.0 By Example
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $40.98
Add to Cart

Book Details

ISBN 139781785882920
Paperback368 pages

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.

Table of Contents

Chapter 1: Welcome to the World of Swift
The first look at Swift
Summary
Chapter 2: Building a Guess the Number App
The app is…
Summary
Chapter 3: A Memory Game in Swift
The app is…
Building the skeleton of the app
The menu screen
The game screen
Connecting the dataSource and the delegate
Implementing a deck of cards
Finishing the game
Summary
Chapter 4: A TodoList App in Swift
The app is…
Building a skeleton app
Building the Todos screen
Adding a Todo task
Summary
Chapter 5: A Pretty Weather App
The app is…
Building the skeleton
Implementing the UI
Completing the UI
Blurring the background
Downloading the background image
Geolocalising the app
Retrieving the actual forecast
Connecting to the server
Where do we go from here?
Summary
Chapter 6: Flappy Swift
The app is…
Building the skeleton of the app
A stage for a bird
A flying bird
Pipes!
Making the components interact
Completing the game
Summary
Chapter 7: Polishing Flappy Swift
Adding juiciness
Integrating with Game Center
Summary
Chapter 8: Cube Runner
The app is…
Introduction to SceneKit
Implementing Cube Runner
Flying in a 3D world
Adding a few touches
Summary
Chapter 9: Completing Cube Runner
Creating a real game
Summary
Chapter 10: ASAP – an E-commerce App in Swift
The app is…
The skeleton app and register screen
The ASAP e-commerce store
The ASAP cart
Summary
Chapter 11: ASAPServer, a Server in Swift
The interface of the ASAP Server
One skeleton server for two OSes
The ASAPServer
Connecting the ASAP app
Summary

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

Authors

Table of Contents

Chapter 1: Welcome to the World of Swift
The first look at Swift
Summary
Chapter 2: Building a Guess the Number App
The app is…
Summary
Chapter 3: A Memory Game in Swift
The app is…
Building the skeleton of the app
The menu screen
The game screen
Connecting the dataSource and the delegate
Implementing a deck of cards
Finishing the game
Summary
Chapter 4: A TodoList App in Swift
The app is…
Building a skeleton app
Building the Todos screen
Adding a Todo task
Summary
Chapter 5: A Pretty Weather App
The app is…
Building the skeleton
Implementing the UI
Completing the UI
Blurring the background
Downloading the background image
Geolocalising the app
Retrieving the actual forecast
Connecting to the server
Where do we go from here?
Summary
Chapter 6: Flappy Swift
The app is…
Building the skeleton of the app
A stage for a bird
A flying bird
Pipes!
Making the components interact
Completing the game
Summary
Chapter 7: Polishing Flappy Swift
Adding juiciness
Integrating with Game Center
Summary
Chapter 8: Cube Runner
The app is…
Introduction to SceneKit
Implementing Cube Runner
Flying in a 3D world
Adding a few touches
Summary
Chapter 9: Completing Cube Runner
Creating a real game
Summary
Chapter 10: ASAP – an E-commerce App in Swift
The app is…
The skeleton app and register screen
The ASAP e-commerce store
The ASAP cart
Summary
Chapter 11: ASAPServer, a Server in Swift
The interface of the ASAP Server
One skeleton server for two OSes
The ASAPServer
Connecting the ASAP app
Summary

Book Details

ISBN 139781785882920
Paperback368 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

iOS 10 Programming for Beginners Book Cover
iOS 10 Programming for Beginners
$ 39.99
$ 28.00
Learning Swift - Second Edition Book Cover
Learning Swift - Second Edition
$ 31.99
$ 22.40
TypeScript: Modern JavaScript Development Book Cover
TypeScript: Modern JavaScript Development
$ 69.99
$ 49.00
Swift Data Structure and Algorithms Book Cover
Swift Data Structure and Algorithms
$ 31.99
$ 22.40
Unity 5.x Animation Cookbook Book Cover
Unity 5.x Animation Cookbook
$ 35.99
$ 25.20
Mastering Swift 3 Book Cover
Mastering Swift 3
$ 35.99
$ 25.20