Swift by Example

Learn Apple's premier programming language through creating funky and impressive applications

Swift by Example

This ebook is included in a Mapt subscription
Giordano Scalzo

Learn Apple's premier programming language through creating funky and impressive applications
$0.00
$31.99
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

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