Animating SwiftUI Applications: Create visually stunning and engaging animations for iOS with SwiftUI
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 應用程式開發的基礎,因此學習這些技能是至關重要的。《Animating SwiftUI Applications》專注於創建令人驚艷的動畫,使您能熟練掌握這種聲明式語言並採用最少的程式碼方法。
在本書中,您將首先探索 SwiftUI 和動畫的基礎知識,然後進入各種專案以實踐這些技能。您將探索一些簡單的專案,例如動畫化圓圈、使用 hueRotation 創建色譜、動畫化圖像的個別部分,以及將多個視圖結合在一起以產生動態創作。然後,本書將轉向更高級的動畫專案,使用 GeometryReader 幫助您在不同設備上對齊動畫,並創建文字和顏色遊戲。最後,您將學習如何將 SpriteKit 框架整合到 SwiftUI 代碼中,以創建具有風、火、雨和雪場景的場景,並將物理、重力、碰撞和粒子發射器添加到您的動畫中。
通過閱讀本書,您將創建多個不同的動畫專案,並深入了解 SwiftUI,以便在自己的創作中使用。
您將學到什麼:
- 理解 SwiftUI 和聲明式編程的基礎知識
- 掌握狀態變量和時間曲線等動畫概念
- 探索色調旋轉、不透明度和縮放等動畫屬性
- 使用物理、重力、碰撞等創建動畫
- 使用 GeometryReader 在各種平台上對齊視圖,結合不同的動畫以獲得更動態的效果
- 為動畫添加音頻,實現互動體驗
適合對象:
本書適合有基本 Swift 理解的初學者 SwiftUI 開發人員使用。同時也適用於已經熟悉 SwiftUI、UIKit 或 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. 探索 SwiftUI 的基礎知識
2. 理解 SwiftUI 中的動畫
3. 創建一個呼吸應用程式
4. 構建一個唱片播放器
5. 動畫化多彩萬花筒效果
6. 動畫化搖擺的女孩
7. 構建一系列的皮帶和齒輪
8. 動畫化一束花
9. 在形狀周圍繪製動畫筆劃
10. 創建一個海洋場景
11. 動畫化一個電梯
12. 創建一個文字遊戲(第一部分)
13. 創建一個文字遊戲(第二部分)
14. 創建一個顏色遊戲
15. 將 SpriteKit 整合到您的 SwiftUI 專案中