Автор: Grace Huang
Издательство: Leanpub
Год: 2022-12-17
Страниц: 154
Язык: английский
Формат: pdf (true)
Размер: 42.5 MB
Learning macOS development with SwiftUI in a practical way.
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.
Once you have finished reading this book, you should be able to create macOS apps on your own and publish them to your users. Building a macOS app will no longer be a mystery to you. You will be familiar with the end-to-end process.
This book assumes that you are new to macOS app development with SwiftUI, not necessarily new to programming in general. If you have prior programming experience in other languages, it should be easier to follow the steps in the book. This book focuses on using SwiftUI to build macOS apps but does not dive deep into the Swift language. Throughout the book, tips for Swift will be mentioned. In addition, the latest Xcode version at the time of writing is 14. All the examples and screenshots are based on Xcode 14. If you have earlier or later Xcode versions, please expect some differences. I will try my best to bring the book up to date as time goes on. All the code in this book is written in Swift 5. If you build your project with an earlier or later Swift Language Version, please expect some differences.
Скачать Building macOS Apps With SwiftUI : A Practical Learning Guide