Swift Essentials

Get up and running lightning fast with this practical guide to building applications with Swift
Preview in Mapt

Swift Essentials

Dr Alex Blewitt

Get up and running lightning fast with this practical guide to building applications with Swift
Mapt Subscription
FREE
$29.99/m after trial
eBook
$21.00
RRP $29.99
Save 29%
Print + eBook
$49.99
RRP $49.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
$21.00
$49.99
$29.99 p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Swift Essentials Book Cover
Swift Essentials
$ 29.99
$ 21.00
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $34.98
Add to Cart

Book Details

ISBN 139781784396701
Paperback228 pages

Book Description

Swift is a new and powerful programming language that represents an essential new programming tool for iOS and OSX applications and builds upon the power of Objective-C while streamlining the developer experience.

Swift Essentials is a fast-paced, practical guide showing you the quickest way to put Swift to work in the real world. It guides you concisely through the basics of syntax and development before pushing ahead to explore Swift's higher features through practical programming projects.

By the end of the book, you will be able to use Xcode's graphical interface builder, create interactive applications, and communicate with network services.

Table of Contents

Chapter 1: Exploring Swift
Getting started with Swift
Conditional logic
Iteration
Functions
Command-line Swift
Summary
Chapter 2: Playing with Swift
Getting started with playgrounds
Displaying objects with QuickLook
Advanced techniques
Playgrounds and documentation
Limitations of playgrounds
Summary
Chapter 3: Creating an iOS Swift App
Understanding iOS applications
Creating a single view iOS application
Swift classes, protocols, and enums
Creating a master-detail iOS application
Summary
Chapter 4: Storyboard Applications with Swift and iOS
Storyboards, scenes, and segues
Adding a navigation controller
Swift and storyboards
Using Auto Layout
Summary
Chapter 5: Creating Custom Views in Swift
An overview of UIView
Creating new views with interface builder
Creating views by subclassing UIView
Custom graphics with drawRect
Custom graphics with layers
Summary
Chapter 6: Parsing Networked Data
Loading data from URLs
Parsing JSON
Parsing XML
Direct network connections
Summary
Chapter 7: Building a Repository Browser
An overview of the GitHub API
The RepositoryBrowser project
Creating the client
Accessing repositories from view controllers
Summary

What You Will Learn

  • Explore the nuts and bolts of the Swift syntax
  • Test Swift code interactively with the REPL
  • Display graphics with QuickLook in the Swift playground
  • Present data in master-detail applications
  • Use the Swift storyboard to manage multi-screen applications
  • Create graphical UIViews with Swift
  • Parse JSON and XML data from network sources
  • Build a standalone iOS application from start to finish

Authors

Table of Contents

Chapter 1: Exploring Swift
Getting started with Swift
Conditional logic
Iteration
Functions
Command-line Swift
Summary
Chapter 2: Playing with Swift
Getting started with playgrounds
Displaying objects with QuickLook
Advanced techniques
Playgrounds and documentation
Limitations of playgrounds
Summary
Chapter 3: Creating an iOS Swift App
Understanding iOS applications
Creating a single view iOS application
Swift classes, protocols, and enums
Creating a master-detail iOS application
Summary
Chapter 4: Storyboard Applications with Swift and iOS
Storyboards, scenes, and segues
Adding a navigation controller
Swift and storyboards
Using Auto Layout
Summary
Chapter 5: Creating Custom Views in Swift
An overview of UIView
Creating new views with interface builder
Creating views by subclassing UIView
Custom graphics with drawRect
Custom graphics with layers
Summary
Chapter 6: Parsing Networked Data
Loading data from URLs
Parsing JSON
Parsing XML
Direct network connections
Summary
Chapter 7: Building a Repository Browser
An overview of the GitHub API
The RepositoryBrowser project
Creating the client
Accessing repositories from view controllers
Summary

Book Details

ISBN 139781784396701
Paperback228 pages
Read More

Read More Reviews

Recommended for You

Test-Driven iOS Development with Swift 3 Book Cover
Test-Driven iOS Development with Swift 3
$ 31.99
$ 22.40
Protocol-Oriented Programming with Swift Book Cover
Protocol-Oriented Programming with Swift
$ 31.99
$ 22.40
Mastering Swift 3 Book Cover
Mastering Swift 3
$ 35.99
$ 25.20
Swift Data Structure and Algorithms Book Cover
Swift Data Structure and Algorithms
$ 31.99
$ 22.40
QlikView 11 for Developers Book Cover
QlikView 11 for Developers
$ 35.99
$ 25.20
Reactive Programming for .NET Developers Book Cover
Reactive Programming for .NET Developers
$ 35.99
$ 25.20