Building macOS apps with SwiftUI: A Practical Learning Guide

Building macOS apps with SwiftUI: A Practical Learning Guide

English | 2022 | ISBN: 979-8367126280 | 156 Pages | PDF, EPUB | 140 MB

Introduced in 2019, SwiftUI is a user interface toolkit that let you create applications with the power of the programming language Swift for all Apple platforms, including iOS, tvOS, watchOS, and macOS.

Before the launch of SwiftUI, developers had to use platform-specific UI frameworks to develop user interfaces, for example, AppKit for macOS apps, TVUIKit for tvOS, and WatchKit for watchOS apps. SwiftUI becomes the one unified UI framework for building user interfaces for all Apple devices.

This book will primarily focus on building macOS apps with SwiftUI, including both coding and releasing apps. Some details for releasing apps on different platforms (iOS, macOS, tvOS, and WatchOS) may differ, so I believe a single focus on macOS development will bring more clarity and avoid confusion.

This book will also touch upon the basics of SwiftUI, which can be potentially shared for other platforms.

I first published an article on Medium about my playbook for macOS app development, which enabled me to quickly turn ideas into apps, and publish them in apps. It received quite a lot of views and shares. This motivated me to write this book with practical examples, so readers who are new to macOS app development can learn, practice, and publish apps hopefully by the end of the book.