Building macOS apps with SwiftUI: A Practical Learning Guide
by Grace Huang (Author)
Publisher Finelybook 出版社： Independently published (December 9, 2022)
Language 语言： English
pages 页数： 156 pages
ISBN-13 书号： 9798367126280
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.