Animating SwiftUI Applications: Create visually stunning and engaging animations for iOS with SwiftUI
暫譯: 動畫化 SwiftUI 應用程式:使用 SwiftUI 創建視覺上驚豔且引人入勝的 iOS 動畫

DeStefano, Stephen

  • 出版商: Packt Publishing
  • 出版日期: 2023-03-13
  • 售價: $1,690
  • 貴賓價: 9.5$1,606
  • 語言: 英文
  • 頁數: 478
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803232668
  • ISBN-13: 9781803232669
  • 相關分類: Apple Developer使用者介面 UI
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Unleash the power of SwiftUI by building dynamic, cross-platform projects that will amaze their usersPurchase of the print or Kindle book includes a free PDF eBook

Key Features

• Explore the basics of declarative programming and animation
• Understand the fundamentals of SwiftUI and animatable properties
• Learn while working on beginner-to-advanced level animation projects

Book Description

Swift and SwiftUI are the backbone of Apple application development, making them a crucial skill set to learn. Animating SwiftUI Applications focuses on the creation of stunning animations, making you proficient in this declarative language and employing a minimal code approach.

In this book, you'll start by exploring the fundamentals of SwiftUI and animation, before jumping into various projects that will cement these skills in practice. You will explore some simple projects, like animating circles, creating color spectrums with hueRotation, animating individual parts of an image, as well as combining multiple views together to produce dynamic creations. The book will then transition into more advanced animation projects that employ the GeometryReader, which helps align your animations across different devices, as well as creating word and color games. Finally, you will learn how to integrate the SpriteKit framework into our SwiftUI code to create scenes with wind, fire, rain, and or snow scene, along with adding physics, gravity, collisions, and particle emitters to your animations.

By the end of this book, you'll have created a number of different animation projects, and will have gained a deep understanding of SwiftUI that can be used for your own creations.

What you will learn

• Understand the fundamentals of SwiftUI and declarative programming
• Master animation concepts like state variables and time curves
• Explore animation properties like hueRotation, opacity, and scale
• Create animations using physics, gravity, collision, and more
• Use the GeometryReader to align views across various platformsCombine different animations for more dynamic effects
• Add audio to your animations for an interactive experience

Who this book is for

This book is for aspiring SwiftUI developers who have a basic understanding of Swift. It can also be used by SwiftUI developers, UIKit developers, and iOS developers that are new to SwiftUI and want to improve their animation proficiency.

商品描述(中文翻譯)

釋放 SwiftUI 的力量,透過建立動態的跨平台專案來驚艷使用者。購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書。

主要特點

• 探索宣告式編程和動畫的基本概念
• 理解 SwiftUI 的基本原理和可動畫屬性
• 在從初學者到進階的動畫專案中學習

書籍描述

Swift 和 SwiftUI 是 Apple 應用程式開發的基石,因此學習這些技能至關重要。《動畫 SwiftUI 應用程式》專注於創建驚人的動畫,使您精通這種宣告式語言並採用最小代碼的方法。

在本書中,您將首先探索 SwiftUI 和動畫的基本概念,然後進入各種專案,以實踐鞏固這些技能。您將探索一些簡單的專案,例如動畫圓形、使用 hueRotation 創建顏色光譜、動畫圖像的各個部分,以及將多個視圖結合在一起以產生動態創作。接著,書中將轉向更進階的動畫專案,使用 GeometryReader 來幫助您在不同設備上對齊動畫,並創建文字和顏色遊戲。最後,您將學習如何將 SpriteKit 框架整合到 SwiftUI 代碼中,以創建包含風、火、雨或雪的場景,並為您的動畫添加物理、重力、碰撞和粒子發射器。

在本書結束時,您將創建多個不同的動畫專案,並深入理解 SwiftUI,以便用於您自己的創作。

您將學到的內容

• 理解 SwiftUI 和宣告式編程的基本原理
• 掌握狀態變數和時間曲線等動畫概念
• 探索 hueRotation、不透明度和縮放等動畫屬性
• 使用物理、重力、碰撞等創建動畫
• 使用 GeometryReader 在各平台上對齊視圖,結合不同動畫以獲得更動態的效果
• 為您的動畫添加音效,以提供互動體驗

本書適合對象

本書適合有基本 Swift 知識的潛在 SwiftUI 開發者。它也適合 SwiftUI 開發者、UIKit 開發者和新接觸 SwiftUI 的 iOS 開發者,幫助他們提高動畫的熟練度。

目錄大綱

1. Exploring the Fundamentals of SwiftUI
2. Understanding Animation with SwiftUI
3. Creating a Breathing App
4. Building a Record Player
5. Animating Colorful Kaleidoscope Effects
6. Animating a Girl on a Swing
7. Building a Series of Belts and Gears
8. Animating a Bouquet of Flowers
9. Animating Strokes around Shapes
10. Creating an Ocean Scene
11. Animating an Elevator
12. Creating a Word Game (Part 1)
13. Creating a Word Game (Part 2)
14. Creating a Color Game
15. Integrating SpriteKit into Your SwiftUI Projects

目錄大綱(中文翻譯)

1. Exploring the Fundamentals of SwiftUI

2. Understanding Animation with SwiftUI

3. Creating a Breathing App

4. Building a Record Player

5. Animating Colorful Kaleidoscope Effects

6. Animating a Girl on a Swing

7. Building a Series of Belts and Gears

8. Animating a Bouquet of Flowers

9. Animating Strokes around Shapes

10. Creating an Ocean Scene

11. Animating an Elevator

12. Creating a Word Game (Part 1)

13. Creating a Word Game (Part 2)

14. Creating a Color Game

15. Integrating SpriteKit into Your SwiftUI Projects