Swift by Example

Learn Apple's premier programming language through creating funky and impressive applications
Preview in Mapt
Code Files

Swift by Example

Giordano Scalzo

Learn Apple's premier programming language through creating funky and impressive applications
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.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
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Swift by Example Book Cover
Swift by Example
$ 31.99
$ 22.40
Julia 1.0 By Example Book Cover
Julia 1.0 By Example
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $36.98
Add to Cart

Book Details

ISBN 139781785284700
Paperback284 pages

Book Description

When Apple announced Swift at the WWDC, the iOS developer community became excited about the opportunities to improve the way in which they build iOS apps. Swift is a user-friendly language with a smooth learning curve; it is safe, robust, and flexible, and it introduces new ways to solve old problems.

Swift by Example is a fast-paced, practical guide that shows you how to develop iOS apps using Swift. Through the development of six different apps, you'll learn how to use either the right feature of the language or the right tool to solve a given problem.

By the end of the book you will be able to build well-designed apps, effectively use AutoLayout, and develop a video game.

Table of Contents

Chapter 1: Welcome to the World of Swift
The first look at Swift
A Guess the Number app in Swift
Chapter 2: A Memory Game in Swift
The app is…
Building the skeleton of the app
The menu screen
The game screen
Implementing a deck of cards
Put the cards on the table
Finishing the game
Summary
Chapter 3: A TodoList App in Swift
The app is…
Building a skeleton app
Building the Todos screen
Adding a Todo task
Adding a list
Where do we go from here?
Summary
Chapter 4: 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 5: 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 6: Polishing Flappy Swift
Adding juiciness
Integrating with Game Center
Summary
Chapter 7: Cube Runner
The app is…
Introduction to SceneKit
Implementing Cube Runner
Flying in a 3D world
Adding a few touches
Summary
Chapter 8: Completing Cube Runner
Making it a real game
Summary

What You Will Learn

  • Explore the features of Swift
  • Connect to a server and parse JSON data
  • Take advantage of CocoaPods to use third-party libraries
  • Utilize a clean and effective architecture to decrease complexity and speed up development
  • Work with the most useful parts of the iOS SDK
  • Build video games with SpriteKit and SceneKit
  • Develop apps from start to finish
  • Implement a weather app using fake data

Authors

Table of Contents

Chapter 1: Welcome to the World of Swift
The first look at Swift
A Guess the Number app in Swift
Chapter 2: A Memory Game in Swift
The app is…
Building the skeleton of the app
The menu screen
The game screen
Implementing a deck of cards
Put the cards on the table
Finishing the game
Summary
Chapter 3: A TodoList App in Swift
The app is…
Building a skeleton app
Building the Todos screen
Adding a Todo task
Adding a list
Where do we go from here?
Summary
Chapter 4: 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 5: 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 6: Polishing Flappy Swift
Adding juiciness
Integrating with Game Center
Summary
Chapter 7: Cube Runner
The app is…
Introduction to SceneKit
Implementing Cube Runner
Flying in a 3D world
Adding a few touches
Summary
Chapter 8: Completing Cube Runner
Making it a real game
Summary

Book Details

ISBN 139781785284700
Paperback284 pages
Read More

Read More Reviews

Recommended for You

Learning Swift - Second Edition Book Cover
Learning Swift - Second Edition
$ 31.99
$ 22.40
AngularJS: Maintaining Web Applications Book Cover
AngularJS: Maintaining Web Applications
$ 59.99
$ 42.00
Learning Python Application Development Book Cover
Learning Python Application Development
$ 35.99
$ 25.20
Developing Microservices with Node.js Book Cover
Developing Microservices with Node.js
$ 31.99
$ 22.40
Learning C# by Developing Games with Unity 3D Beginner's Guide Book Cover
Learning C# by Developing Games with Unity 3D Beginner's Guide
$ 29.99
$ 21.00
Native Docker Clustering with Swarm Book Cover
Native Docker Clustering with Swarm
$ 35.99
$ 25.20