Mastering Swift 3 – Linux

Mastering Swift 3 – LinuxReviews
Author: Jon Hoffman
Pub Date: 2017
ISBN: 978-1-78646-141-4
Pages: 423
Language: English
Size: 25 Mb


Learn to build fast and robust applications on the Linux Platform with Swift
Swift is a modern, fast, and safe programming language created by Apple. Writing Swift is interactive and fun, the syntax is concise yet expressive, and the code runs lightning-fast. Swift’s move to open source has been embraced with open arms and has seen increased adoption in the Linux platform.
Our book will introduce you to the Swift language, further delving into all the key concepts you need to create applications for desktop, server, and embedded Linux platforms. We will teach you the best practices to design an application with Swift 3 via design patterns and Protocol-Oriented Programming.
Further on, you will learn how to catch and respond to errors within your application. When you have gained a strong knowledge of using Swift in Linux, we’ll show you how to build IoT and robotic projects using Swift on single board computers. By the end of the book, you will have a solid understanding of the Swift Language with Linux and will be able to create your own applications with ease.
What you will learn

  • Install Swift on the Linux platform
  • Explore the power of the Swift language
  • Get to know the proper design techniques
  • Understand Swift’s new Core Library
  • Implement popular design patterns with Swift
  • Integrate C libraries with Swift
  • Using Swift on Single-Board Computers
  • Learn how to add concurrency to your application with Grand Central Dispatch
  • Learn how to work with Swift Generics
  • Learn how to use the Protocol-Oriented design paradigm

Table of Contents

1 Taking the First Steps with Swift
2 Learning About Variables, Constants, Strings, and Operators
3 Using Swift Collections and the Tuple Type
4 Control Flow and Functions
5 Classes and Structures
6 Using Protocols and Protocol Extensions
7 Protocol-Oriented Design
8 Writing Safer Code with Error Handling
9 Custom Subscripting
10 Using Optional Types
11 Working with Generics
12 Working with Closures
13 Using C Libraries with Swift
14 Concurrency and Parallelism in Swift
15 Swifts Core Libraries
16 Swift on Single Board Computers
17 Swift Formatting and Style Guide
18 Adopting Design Patterns in Swift