The 2nd edition of the bestselling Swift for Masterminds, now fully updated for Swift 6.4 and iOS 27, with new sections on concurrency and AI-assisted development.Master the Swift programming language step by step, the easy way, from beginner concepts to advanced techniques. After reading this book, you will know how to write Swift code with confidence, process data efficiently, work with frameworks, and structure your projects to build powerful and scalable applications for iPhones, iPads and Macs.
Whether you're new to Swift or coming from React development, this book will help you get into the fascinating and profitable world of app development for Apple devices with hundreds of projects and sample code ready to use in your own applications.
With this book, you will learn:How to program in Swift 6.4
How to define custom data types
How to extend Swift data types
How to work with protocols
How to use approachable concurrency with Swift 6.4
How to leverage AI agents to accomplish more in less time
and more!
Get your copy today and start programming real Swift applications.
Content by Chapter:
Chapter 1
App Development
Xcode 27
AI Agents (Codex, Claude, Gemini)
Chapter 2Introduction to Swift
Swift Data Types
Conditionals and Loops
Chapter 3Swift Functions
Generic Functions
Closures
Chapter 4Swift Structures
Computed Properties
Property Observers
Generic Structures
Chapter 5Swift Enumerations
Raw Values
Associated Values
Chapter 6Swift Objects
Reference Types
Memory Management
Inheritance
Extensions
Singletons
Chapter 7Swift Protocols
Protocol Composition
Standard Protocols
Protocol Extensions
Delegates
Generic Protocols
Opaque Types
Chapter 8Error Handling
Throwing Errors
Handling Errors
Chapter 9Introduction to Frameworks
Foundation
Core Graphics
Chapter 10Regular Expressions
Standard Regular Expressions
Regex Builder
Chapter 11Swift Tools
Property Wrappers
Attributes
Macros
Chapter 12Approachable Concurrency
Asynchronous and Concurrent Tasks
Isolation Domains
Main Actor
Data Races
Asynchronous Sequences
Asynchronous Images
Learn how to program apps for iPhones, iPads and Macs with Swift, Xcode 27, iOS 27, iPadOS 27 and macOS 27