SwiftUI Projects Build six real-world cross-platform mobile applications using SwiftUI from scratch
暫譯: SwiftUI 專案

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
- 理解為不同設備(如 Watch、iPhone 和 iPad)建立應用程式的設計考量
- 使用進階的 SwiftUI 佈局功能,包括 SF Symbols、黑暗模式和無障礙功能

#### 書籍描述

SwiftUI 於 2019 年 WWDC 期間由 Apple 發布,提供了一種創新且極其簡單的方式,利用 Swift 的力量為所有 Apple 平台建立使用者介面。

這本實用指南包含六個從零開始的真實專案,每個專案針對 iPhone、iPad 和 WatchOS 各有兩個,使用 Swift 程式設計和 Xcode 建立。從 SwiftUI 的基礎開始,您將逐步深入這些專案的建構。您將透過處理視圖、佈局和動態類型來學習 SwiftUI 的基本概念。這本 SwiftUI 書籍還將幫助您實踐宣告式程式設計,建立可以在多個平台上運行的應用程式。在整本書中,您將參與有趣的專案,例如建立 NBA 選秀、水分追蹤器、待辦電影以及許多其他令人興奮的應用程式,讓您理解 SwiftUI 專案的核心和重要元素。

在書籍結束時,您將建立多個平台的完整功能專案,並獲得成為專業 SwiftUI 開發者所需的知識。

#### 您將學到什麼

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

#### 本書適合誰

本書適合希望使用 SwiftUI 程式設計為多個平台(包括 iOS、iPadOS 和 watchOS)建立強大使用者介面的行動開發者。本書假設讀者對 Swift 程式設計和 iOS 開發有基本了解。

作者簡介

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.

作者簡介(中文翻譯)

克雷格·克萊頓

克雷格·克萊頓是一位自學成才的資深 iOS 工程師,目前在 Adept Mobile 工作,專注於為 NBA 和 NFL 球隊打造移動體驗。他還自願擔任坦帕/聖彼得堡地區 Suncoast iOS 聚會小組的組織者,持續三年,為該小組及社區中的其他小組準備演講和實作講座。他還推出了 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

目錄大綱(中文翻譯)

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