Have a personal or library account? Click to login
Mastering Swift 3 - Linux Cover

Mastering Swift 3 - Linux

Learn to build fast and robust applications on the Linux platform with Swift

Paid access
|Sep 2025
Product purchase options

Learn to build fast and robust applications on the Linux platform with Swift

Key Features

  • Create robust applications by building a strong foundation in the Swift Language
  • Utilize Swift 3 on the embedded Linux platform for IoT and Robotic projects
  • Build more flexible and high-performing applications on desktop, server, and embedded Linux platforms

Book Description

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

Who this book is for

This book is for Linux developers who are interested in quickly learning how to use Swift to create exciting applications on Linux platforms.

Table of Contents

  1. Taking first steps into Swift
  2. Learning about variables, constentsm strings and operators
  3. Swift Collections
  4. Control flow and functions
  5. Classes and Structures
  6. Using Protocols and Protocol Extensions
  7. Protocol Oriented Design
  8. Writing safer code with Availability and 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
  15. Swift Core Library
  16. Swift on Single-Board Computers
  17. Swift formatting and Style Guide
  18. Adopting design patterns in swift
https://github.com/packtpublishing/mastering-swift-3-linux
PDF ISBN: 978-1-78646-047-9
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 380