SwiftUI for Beginners: Build your first iOS app with SwiftUI, Swift Playground, and iPad
暫譯: SwiftUI 初學者指南:使用 SwiftUI、Swift Playground 與 iPad 建立你的第一個 iOS App
Sahar, Ahmad
- 出版商: Packt Publishing
- 出版日期: 2026-09-18
- 售價: $1,710
- 貴賓價: 9.5 折 $1,624
- 語言: 英文
- 頁數: 252
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1807785572
- ISBN-13: 9781807785574
-
相關分類:
Apple Developer
海外代購書籍(需單獨結帳)
相關主題
商品描述
Take a complete iOS app from Swift Playground to the App Store, building real features with SwiftUI, MapKit, and SwiftData along the way.
Key Features:
- Build a complete CATLog app from scratch, applying each concept as you go
- Add maps, photos, persistent data, and search to a real iOS application
- Test your app with TestFlight and publish it to the App Store
Book Description:
Most beginners want to build a real app, not work through isolated exercises. SwiftUI for Beginners gets you building from the start, showing you how to create a complete iOS app on iPad using Swift Playground, Swift 6, and SwiftUI.
Starting with the Swift Playground environment and Swift fundamentals, you will design adaptive multi-screen interfaces, build navigation flows, and manage application data. As the app grows, you will add SwiftData for persistent storage, Core Location and MapKit for location-aware features, and Photo Library integration for rich media. You will also build reusable custom views and implement search to improve usability throughout.
By the end of this book, you will have built, tested, and published a complete iOS app to the App Store using SwiftUI, SwiftData, MapKit, and TestFlight.
What You Will Learn:
- Build a complete iOS app on iPad using Swift Playground and SwiftUI
- Design adaptive, multi-screen interfaces using SwiftUI components
- Create navigation flows and manage data across multiple screens
- Store persistent app data with SwiftData
- Integrate Core Location and MapKit for location-aware features
- Access the Photo Library for rich media experiences
- Add search functionality and build reusable custom SwiftUI views
- Test and publish your finished app to the App Store via TestFlight
Who this book is for:
This book is for aspiring iOS developers, students, hobbyists, and professionals moving from other development platforms who want to learn SwiftUI from scratch. No prior experience with Swift or iOS development is required, though a basic understanding of programming concepts will help. You will learn by building a complete app using Swift Playground and SwiftUI.
Table of Contents
- Hello, Swift Playground
- Set Up the User Interface
- Build the User Interface
- Complete the User Interface
- Modify App Screens
- Display Data in a List
- Pass Data Between Screens
- Core Location and MapKit
- SwiftData
- Custom Views
- Photo Library
- Search
- Test Your App with TestFlight
- Submit Your App to the App Store
商品描述(中文翻譯)
將完整的 iOS app 從 Swift Playground 帶到 App Store,並在過程中使用 SwiftUI、MapKit 和 SwiftData 建立真正的功能。
主要特色:
- 從零開始建置完整的 CATLog app,並逐步應用每個概念
- 為實際的 iOS 應用程式加入地圖、照片、持久化資料和搜尋功能
- 使用 TestFlight 測試 app,並將其發布至 App Store
書籍簡介:
大多數初學者都想建置真正的 app,而不是執行彼此獨立的練習。《SwiftUI for Beginners》讓你從一開始就動手建置,示範如何在 iPad 上使用 Swift Playground、Swift 6 和 SwiftUI 建立完整的 iOS app。
你將從 Swift Playground 環境和 Swift 基礎開始,設計自適應的多畫面介面、建立導覽流程,並管理應用程式資料。隨著 app 逐漸擴充,你將加入 SwiftData 以提供持久化儲存,使用 Core Location 和 MapKit 建立具備位置感知功能的體驗,並整合 Photo Library 以支援豐富的媒體內容。此外,你也會建立可重複使用的自訂視圖,並實作搜尋功能,以全面提升使用便利性。
讀完本書後,你將能夠使用 SwiftUI、SwiftData、MapKit 和 TestFlight,建置、測試並將完整的 iOS app 發布至 App Store。
你將學會:
- 使用 Swift Playground 和 SwiftUI 在 iPad 上建置完整的 iOS app
- 使用 SwiftUI 元件設計自適應的多畫面介面
- 建立導覽流程,並在多個畫面之間管理資料
- 使用 SwiftData 儲存持久化的 app 資料
- 整合 Core Location 和 MapKit,建立具備位置感知功能的體驗
- 存取 Photo Library,打造豐富的媒體體驗
- 加入搜尋功能,並建立可重複使用的自訂 SwiftUI 視圖
- 透過 TestFlight 測試完成的 app,並將其發布至 App Store
適合對象:
本書適合有志成為 iOS 開發者的讀者、學生、興趣開發者,以及想從其他開發平台轉換並從零開始學習 SwiftUI 的專業人士。不需要具備 Swift 或 iOS 開發經驗,但具備基本的程式設計概念將有助於學習。你將透過使用 Swift Playground 和 SwiftUI 建置完整 app 的方式來學習。
目錄:
- Hello, Swift Playground
- 設定使用者介面
- 建置使用者介面
- 完成使用者介面
- 修改 app 畫面
- 在清單中顯示資料
- 在畫面之間傳遞資料
- Core Location 和 MapKit
- SwiftData
- 自訂視圖
- Photo Library
- 搜尋
- 使用 TestFlight 測試 app
- 將 app 提交至 App Store