SwiftUI Projects Build six real-world cross-platform mobile applications using SwiftUI from scratch

Craig Clayton

  • 出版商: Packt Publishing
  • 出版日期: 2020-12-11
  • 售價: $1,540
  • 貴賓價: 9.5$1,463
  • 語言: 英文
  • 頁數: 413
  • 裝訂: Paperback
  • ISBN: 183921466X
  • ISBN-13: 9781839214660
  • 相關分類: Apple Developer使用者介面 UI
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Learn SwiftUI by building compelling user interfaces for watchOS, iPadOS, and iOS with Swift 5 and Xcode 11

Key Features

  • Learn SwiftUI with the help of practical cross-platform development projects
  • Understand the design considerations for building apps for different devices like Watch, iPhone, and iPad
  • Work with advanced SwiftUI layout features, including SF Symbols, dark mode, and accessibility

Book Description

Released by Apple during WWDC 2019, SwiftUI provides an innovative and exceptionally simple way to build user interfaces for all Apple platforms with the power of Swift

This practical guide involves six real-world projects built from scratch, with two projects each for iPhone, iPad, and WatchOS built using Swift programming and Xcode. Starting with the basics of SwiftUI, you'll gradually delve into building these projects. You'll learn the fundamentals concepts of SwiftUI by working with views, layouts, and dynamic types. This SwiftUI book will also help you get hands-on with declarative programming for building apps that can run on multiple platforms. Throughout the book, you'll work on fun projects like building an NBA draft, a water tracker, ToDo movies, and plenty of other exciting apps that enable you to understand the core and important elements of a SwiftUI project.

By the end of the book, you'll have built fully functional projects for multiple platforms and gained the knowledge required to become a professional SwiftUI developer.

What you will learn

  • Understand the basics of SwiftUI by building an app with watchOS
  • Work with UI elements such as text, lists, and buttons
  • Explore SwiftUI's animation and 3D effect
  • Create a video player in UIKit and import it into SwiftUI
  • Discover how to leverage an API and parse JSON in your app
  • Structure your app to use Combine and state-driven features
  • Explore Model-View-ViewModel (MVVM) design patterns by building sports news apps for iPad

Who This Book Is For

The book is for mobile developers who want to build powerful UIs for multiple platforms including iOS, iPadOS, and watchOS with SwiftUI programming. The book assumes a basic understanding of Swift programming and iOS development.

商品描述(中文翻譯)

透過使用 Swift 5 和 Xcode 11,在 watchOS、iPadOS 和 iOS 上建立引人入勝的使用者介面,學習 SwiftUI。

主要特點:

- 透過實際的跨平台開發專案學習 SwiftUI。
- 了解為不同設備(如手錶、iPhone 和 iPad)建立應用程式的設計考量。
- 使用高級的 SwiftUI 佈局功能,包括 SF Symbols、深色模式和可訪問性。

書籍描述:

SwiftUI 在 2019 年的 WWDC 上由 Apple 發布,以 Swift 的強大功能提供了一種創新且非常簡單的方式來為所有 Apple 平台建立使用者介面。

這本實用指南涵蓋了六個從頭開始建立的真實世界專案,其中包括使用 Swift 編程和 Xcode 建立的兩個 iPhone、iPad 和 WatchOS 專案。從 SwiftUI 的基礎開始,您將逐漸深入研究這些專案的建立。通過使用視圖、佈局和動態類型,您將學習 SwiftUI 的基本概念。這本 SwiftUI 書籍還將幫助您親自體驗聲明式編程,以建立可以在多個平台上運行的應用程式。在整本書中,您將參與有趣的專案,如建立 NBA 選秀、水量追蹤器、ToDo 電影等等,這些專案將使您了解 SwiftUI 專案的核心和重要元素。

通過閱讀本書,您將建立多個平台的完全功能專案,並獲得成為專業 SwiftUI 開發人員所需的知識。

您將學到什麼:

- 通過使用 watchOS 建立應用程式,了解 SwiftUI 的基礎。
- 使用文本、列表和按鈕等 UI 元素進行工作。
- 探索 SwiftUI 的動畫和 3D 效果。
- 在 UIKit 中創建視頻播放器並將其導入 SwiftUI。
- 發現如何在應用程式中利用 API 和解析 JSON。
- 結構化您的應用程式以使用 Combine 和狀態驅動功能。
- 通過為 iPad 建立體育新聞應用程式,探索模型-視圖-視圖模型(MVVM)設計模式。

本書適合對 Swift 編程和 iOS 開發有基本了解的移動開發人員,他們希望使用 SwiftUI 編程為多個平台(包括 iOS、iPadOS 和 watchOS)建立強大的使用者介面。

作者簡介

Craig Clayton

Craig Clayton is a self-taught, senior iOS engineer at Adept Mobile, specializing in building mobile experiences for NBA and NFL teams. He also volunteered as the organizer of the Suncoast iOS meetup group in the Tampa/St. Petersburg area for 3 years, preparing presentations and hands-on talks for this group and other groups in the community. He has also launched Cocoa Academy online, which specializes in bringing a diverse list of iOS courses, ranging from building apps to games for all programming levels, to the market.

作者簡介(中文翻譯)

Craig Clayton 是 Adept Mobile 的自學資深 iOS 工程師,專注於為 NBA 和 NFL 球隊建立移動體驗。他還自願擔任塔帕/聖彼得堡地區 Suncoast iOS meetup group 的組織者,為該團體和社區中的其他團體準備演講和實踐講座已有 3 年之久。他還在線上推出了 Cocoa Academy,該平台專注於提供多樣化的 iOS 課程,從初級到高級,涵蓋了從應用程式開發到遊戲開發的各個領域。

目錄大綱

Table of Contents

  1. SwiftUI Basics
  2. SwiftUI Watch Tour
  3. NBA Draft - Watch App
  4. Car Order Form - Design
  5. Car Order Form - Data
  6. Financial App - Design
  7. Financial App - Core Data
  8. Shoe Point of Sale System - Design
  9. Shoe Point of Sale System - CloudKit
  10. Sports News App - Design
  11. Sports News App - Data

目錄大綱(中文翻譯)

目錄

1. SwiftUI 基礎
2. SwiftUI 錶盤導覽
3. NBA Draft - 錶盤應用程式
4. 車輛訂購表單 - 設計
5. 車輛訂購表單 - 資料
6. 金融應用程式 - 設計
7. 金融應用程式 - Core Data
8. 鞋子銷售系統 - 設計
9. 鞋子銷售系統 - CloudKit
10. 體育新聞應用程式 - 設計
11. 體育新聞應用程式 - 資料