Animating SwiftUI Applications: Create visually stunning and engaging animations for iOS with SwiftUI

·
· Packt Publishing Ltd
Ebook
478
Pages

About this ebook

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 eBookKey FeaturesExplore the basics of declarative programming and animationUnderstand the fundamentals of SwiftUI and animatable propertiesLearn while working on beginner-to-advanced level animation projectsBook 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 learnUnderstand the fundamentals of SwiftUI and declarative programmingMaster animation concepts like state variables and time curvesExplore animation properties like hueRotation, opacity, and scaleCreate animations using physics, gravity, collision, and moreUse the GeometryReader to align views across various platformsCombine different animations for more dynamic effectsAdd audio to your animations for an interactive experienceWho 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.

About the author

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.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.