An iOS Developer's Guide to SwiftUI: Design and build beautiful apps quickly and easily with minimum code

Fadda, Michele

  • 出版商: Packt Publishing
  • 出版日期: 2024-05-03
  • 售價: $1,760
  • 貴賓價: 9.5$1,672
  • 語言: 英文
  • 頁數: 446
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801813620
  • ISBN-13: 9781801813624
  • 相關分類: Apple Developer
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Get started with SwiftUI and accelerate your iOS app development with this guide to leveraging the declarative approach, with key images printed in color

Key Features
  • Learn how to structure and maintain clean app architecture
  • Integrate SwiftUI with relevant frameworks to create professional and responsive apps
  • Understand the declarative functional approach and focus on asynchronous programming within the context of SwiftUI
  • Purchase of the print or Kindle book includes a free PDF eBook
Book Description

SwiftUI has transformed app development across Apple Platforms, offering developers the power to build seamless user interfaces by just defining the UI design through intuitive Swift code. This book explores SwiftUI's revolutionary declarative programming approach to assist you in designing UI for Apple devices, ranging from iPhones to Macs, by declaring what the app should look like and what it should do, leaving the heavy lifting to the operating system.

With a hands-on approach, the book immerses you in the fundamentals of SwiftUI and goes on to cover SwiftUI parts that are omitted by most introductory guides. Starting with creating views and modifiers, you'll progress to more intricate and responsive user interfaces and advanced techniques, gradually working toward building complex apps. Further, this book focuses on the new features in asynchronous programming and architecture patterns to design efficient, modern, and well-structured apps. Finally, you'll explore the integration of UIkit and SwiftUI and how to run tests for a SwiftUI application.

By the end of the book, you'll have gained the confidence to harness the full potential of SwiftUI to build professional-grade applications.

What you will learn
  • Get to grips with UI coding across Apple platforms using SwiftUI
  • Build modern apps, delving into complex architecture and asynchronous programming
  • Explore animations, graphics, and user gestures to build responsive UIs
  • Respond to asynchronous events and store and share data the modern way
  • Add advanced features by integrating SwiftUI and UIKit to enhance your apps
  • Gain proficiency in testing and debugging SwiftUI applications
Who this book is for

This book is for iOS developers interested in mastering SwiftUI, software developers with extensive iOS development experience using UIkit transitioning to SwiftUI, as well as mobile consultants and engineers who want to gain an in-depth understanding of the framework. Newcomers equipped with knowledge of Swift, UIkit, XCode, and asynchronous programming will find this book invaluable for launching a career in mobile software development with iOS.

Table of Contents
  1. Exploring the Environment - Xcode, Playgrounds, and SwiftUI
  2. Adding Basic UI Elements and Designing Layouts
  3. Adding Interactivity to a SwiftUI View
  4. Iterating Views, Scroll Views, FocusState, Lists, and Scroll View Reader
  5. The Art of Displaying Grids
  6. Tab Bars and Modal View Presentation
  7. All About Navigation
  8. Creating Custom Graphics
  9. An Introduction to Animations in SwiftUI
  10. App Architecture and SwiftUI Part I: the Practical Tools
  11. App Architecture and SwiftUI Part II - the Theory
  12. Persistence with Core Data
  13. Modern Structured Concurrency
  14. An Introduction to SwiftData
  15. Consuming REST Services in SwiftUI
  16. Exploring the Apple Vision Pro

商品描述(中文翻譯)

開始使用SwiftUI,並加速您的iOS應用程式開發,本指南將教您如何利用聲明式方法,並以彩色圖像印刷關鍵影像。

主要特點:
- 學習如何結構化和維護乾淨的應用程式架構
- 將SwiftUI與相關框架整合,創建專業且具有響應性的應用程式
- 了解聲明式功能方法,並專注於SwiftUI的異步編程
- 購買印刷版或Kindle電子書,即可獲得免費的PDF電子書

書籍描述:
SwiftUI已經改變了Apple平台上的應用程式開發方式,開發人員只需通過直觀的Swift程式碼定義UI設計,就能建立無縫的使用者界面。本書探討了SwiftUI的革命性聲明式編程方法,幫助您設計適用於Apple設備的UI,從iPhone到Mac,只需聲明應用程式的外觀和功能,將繁重的工作交給操作系統。

通過實踐的方法,本書將您深入介紹SwiftUI的基礎知識,並涵蓋大多數入門指南所忽略的SwiftUI部分。從創建視圖和修改器開始,逐步進展到更複雜和響應式的使用者界面和高級技術,逐步建立複雜的應用程式。此外,本書還專注於異步編程和架構模式的新功能,以設計高效、現代和結構良好的應用程式。最後,您將探索UIkit和SwiftUI的整合,以及如何為SwiftUI應用程式運行測試。

通過閱讀本書,您將獲得利用SwiftUI開發專業級應用程式的信心。

您將學到:
- 使用SwiftUI在Apple平台上進行UI編碼
- 構建現代應用程式,深入研究複雜的架構和異步編程
- 探索動畫、圖形和使用者手勢,建立響應式的使用者界面
- 回應異步事件,以現代方式存儲和共享數據
- 通過整合SwiftUI和UIKit添加高級功能,增強您的應用程式
- 熟練測試和調試SwiftUI應用程式

本書適合對掌握SwiftUI感興趣的iOS開發人員、具有廣泛iOS開發經驗並轉向SwiftUI的軟體開發人員,以及希望深入了解該框架的移動顧問和工程師。對於具備Swift、UIkit、XCode和異步編程知識的新手來說,本書對於在iOS上開展移動軟體開發職業生涯非常有價值。

目錄:
1. 探索環境 - Xcode、Playgrounds和SwiftUI
2. 添加基本UI元素和設計佈局
3. 為SwiftUI視圖添加互動性
4. 迭代視圖、滾動視圖、焦點狀態、列表和滾動視圖讀取器
5. 顯示網格的藝術
6. 標籤欄和模態視圖呈現
7. 導航的全部內容
8. 創建自定義圖形
9. SwiftUI中動畫的介紹
10. 應用程式架構和SwiftUI第一部分:實用工具
11. 應用程式架構和SwiftUI第二部分 - 理論
12. 使用Core Data進行持久化
13. 現代結構化並發
14. SwiftData介紹
15. 在SwiftUI中使用REST服務
16. 探索Apple Vision Pro