Animating SwiftUI Applications
Packt Publishing Limited (Verlag)
978-1-80323-266-9 (ISBN)
Purchase 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 DescriptionSwift 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 forThis 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.
Stephen DeStefano is a long-time iOS / macOS / watchOS instructor and creator of a SwiftUI course geared toward beginners and takes them all the way to the expert level in a concise amount of time. Stephen has a unique way of presenting his material, with callouts, highlighting, and graphics, all to make it more understandable and easier to follow the path of the code. He has converted many of his bestselling iOS / macOS / watchOS / tvOS and other books into lecture-style courses—so, you are getting the best instruction available for all of Apple’s platforms.
Table of Contents
Exploring the Fundamentals of SwiftUI
Understanding Animation with SwiftUI
Creating a Breathing App
Building a Record Player
Animating Colorful Kaleidoscope Effects
Animating a Girl on a Swing
Building a Series of Belts and Gears
Animating a Bouquet of Flowers
Animating Strokes around Shapes
Creating an Ocean Scene
Animating an Elevator
Creating a Word Game (Part 1)
Creating a Word Game (Part 2)
Creating a Color Game
Integrating SpriteKit into Your SwiftUI Projects
Erscheinungsdatum | 16.03.2023 |
---|---|
Vorwort | J.D. Gauchat |
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Informatik ► Software Entwicklung ► User Interfaces (HCI) |
ISBN-10 | 1-80323-266-8 / 1803232668 |
ISBN-13 | 978-1-80323-266-9 / 9781803232669 |
Zustand | Neuware |
Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich