Mastering Swift 3 – Linux
- Length: 423 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2017-01-05
- ISBN-10: 1786461412
- ISBN-13: 9781786461414
- Sales Rank: #5467254 (See Top 100 Books)
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
Table of Contents
Chapter 1: Taking the First Steps with Swift
Chapter 2: Learning About Variables, Constants, Strings, and Operators
Chapter 3: Using Swift Collections and the Tuple Type
Chapter 4: Control Flow and Functions
Chapter 5: Classes and Structures
Chapter 6: Using Protocols and Protocol Extensions
Chapter 7: Protocol-Oriented Design
Chapter 8: Writing Safer Code with Error Handling
Chapter 9: Custom Subscripting
Chapter 10: Using Optional Types
Chapter 11: Working with Generics
Chapter 12: Working with Closures
Chapter 13: Using C Libraries with Swift
Chapter 14: Concurrency and Parallelism in Swift
Chapter 15: Swifts Core Libraries
Chapter 16: Swift on Single Board Computers
Chapter 17: Swift Formatting and Style Guide
Chapter 18: Adopting Design Patterns in Swift