Swift in Action
312 pages
English
PDF
4.2

Swift in Action

Swift in Action

Author:

Year:

Summary:

The book "Swift in Action" is a practical guide to modern development in Swift for iOS and macOS. The author consistently guides the reader from the basics of syntax to creating full-fledged applications, using real-world examples and projects.

What the book is about

The publication covers all key aspects of Swift 5.x: fundamental data types, memory management, protocols, closures, generics, as well as working with the Foundation, UIKit, and SwiftUI frameworks. Special attention is paid to type safety, optional values, and the functional capabilities of the language.

Who it is for

The book is intended for programmers already familiar with the basics of programming (Java, Python, C#) who want to master Swift for creating applications for the Apple ecosystem. Beginner iOS developers will find a structured approach here, while experienced ones will find a deep dive into the nuances of the language.

What the reader will learn

  • Complete Swift syntax: from variables to protocol extensions
  • Memory management: ARC, weak/unowned references, closures
  • UI development with UIKit and SwiftUI
  • Network requests, working with JSON and Core Data
  • Testing, debugging, and optimization

Chapter contents

The book consists of 12 chapters: 1-2 — introduction and environment setup; 3-5 — basic constructs, collections, and functions; 6-7 — OOP and protocols; 8 — memory management; 9 — working with files and the network; 10-11 — SwiftUI and UIKit; 12 — publishing to the App Store. Each chapter ends with a practical assignment.

Why you should read it

Unlike academic textbooks, "Swift in Action" offers an end-to-end project — a notes application that the reader develops from chapter to chapter. The book is written in a lively language, contains hundreds of code examples and visual diagrams. It is an ideal choice for those who want not just to learn the syntax, but to immediately start writing commercial applications.

Recommendations