Welcome to Animate With SwiftUI: iOS, watchOS, and visionOS. This course gives you the good foundations and the basic principles of animating anything you could imagine using SwiftUI. We will first go through how things change over time so that you know for example, how things move. We will then look at creating Basic Animation as well as Spring Animation. You will learn how to make your app animations look better, delightful, and valuable using nothing but SwiftUI. So, let’s get started with Animate With SwiftUI: iOS, watchOS, and visionOS.
Welcome to Animate With SwiftUI: iOS, watchOS, and visionOS. This course gives you the good foundations and the basic principles of animating anything you could imagine using SwiftUI. We will first go through how things change over time so that you know for example, how things move. We will then look at creating Basic Animation as well as Spring Animation. You will learn how to make your app animations look better, delightful, and valuable using nothing but SwiftUI. So, let’s get started with Animate With SwiftUI: iOS, watchOS, and visionOS.
NOTE: As of 11/09/2022, I will keep on deleting the 2020 and 2021 animation videos from this course. The reason is that I am updating this weekly with new animations to replace the old content.
Learning Objectives
Understanding animation and motion in SwiftUI
Working with Anchor Points (Center of mass)
Understanding Basic Animation
Creating Spring Animations on iOS
When and How to Use Easings
How to make iOS App Animations look better
The basics of Animation Timing
Animating in 3D
Building Clones of Dynamic Island Animations
Accessible animations and Reduce Motion on iOS
Main Sections (updated weekly)
Creating Basic Animation
Create your first SwiftUI animation
How to create rotational animation: Yahoo Weather Sun and Wind
How to animate scale transform (x, y, and xy)
How to animate movement using offset (x and y)
How to animate movement using alignment
Create your first Apple Watch animation
How to animate Hue Rotation
Implicit and Explicit Animation
What is an Implicit Animation?
What is an Explicit Animation?
Understanding and Animating Masks
How to animate corner radius
Animating Touch ID using mask offset
Animating Visual Effects
How to animate color
How to animate gradients
Mastering Animation Timing and Pacing
What is animation timing?
What is animation pacing?
How to change an animation begin time using delay
What is a repeat count?
How to repeat an animation forever
How to adjust an animation speed
Easing: Understanding How Things Move
Default
Linear
EaseIn
EaseOut
EaseInOut
Using Custom Timing Curves
Sinusoidal
Circular
Exponential
Special Effects
Learning Spring Animations
Understanding Spring Animation Parameters
What is stiffness?
What is Damping and Damping Fraction?
What is Mass?
What is Response
What is Initial Velocity?
Cloning Dynamic Island Animations with SwiftUI: First Class Citizen Apple Apps
Airdrop
Silent/ringing
Call Coming In
Message Coming In
Approving FaceID
Privacy
Music: Now Playing
FaceTime Bubbling
Throw Timer into the Island
Airpods Pro Charging
Airpods Max Charging
Battery Charging
Apple Maps Directions
Cloning Dynamic Island Animations with SwiftUI: Third-party Apps
Uber Arriving
Lyft Arriving
Flighty: Airplane Landing
StepsApp: Steps Counting
Drawing and Animating Path in SwiftUI
How to bring a compound path from Sketch
How to make an animated matching ants
How to Add Animations to Standard Controls
How to animate a toggle switch
Animating in 3D
How to replicate the FaceID confirmation animation
3D parallax animation on Apple TV
Building Clones of iOS App Animations
Measuring heart rate on Apple Watch
Breathe animation on Apple Watch
Tide app's breathe animation
StepApp's steps counting animation
Using Transitions
Creating page-to-page transitions
Creating view-to-view transitions
How to make SwiftUI Animations Accessible and Inclusive
How to combine animating children into one element
How to tell voiceovers that an animating element is a button
How to label animating elements
How to Implement Reduce Motion For SwiftUI Animation
How to disable animations when Reduce Motion is on
How to present subtle/less excessive animations when Reduce Motion is on
Use withAnimation to get a default animation instance in SwiftUI. Get the source code ?? https://gist.github.com/amosgyamfi/e48227688a0d46dc7bbd3d780fe62e18#file-defaultanimationwithanimation-swift
This video shows you how to get a default animation instance when using the animation modifier in SwiftUI.
Get the source code ?: https://gist.github.com/amosgyamfi/8828f99b3d2ad1fb854efb8e64840c55
Using the new Phase Animator in SwiftUI, you can build complex and multi-step animations. Rather than animating between 2 states, you can define multiple steps that happen in sequence. In this video, you will learn the basics of how it works.
Discover the various standard easing types in SwiftUI and how to use the correctly.
Source code: https://gist.github.com/amosgyamfi#:~:text=amosgyamfi%20/-,LoadFromRemoteURL.swift,-Last%20active%2017
In this tutorial, we will use the Model3D view in SwiftUI to load 3D content and animate its rotation for visionOS.
NOTE: In the introduction, I mistakenly mentioned iOS. That should be visionOS.
Let's create the Siri animation in visionOS using SwiftUI's 2D, 3D, and hue rotation animations.
In this video, you will learn how to transition a hamburger icon into a back icon by animating scale, rotation, spacing, width, and offset.
Learn how to combine rotation, scale transform, and opacity to transition a hamburger icon into a close icon.
Discover how to build a clone of the Twitter Like animation with SwiftUI. Note: There is another section where you can find this animation. That explains animating specific properties.
When animating in SwiftUI, you can put .delay() before or after (repeatCount or repeatForever). Each approach gives you different results. Let's look at that in this video.
Using SwiftUI, you can delay animations using the dispatch queue, the delay modifier, or the standard easing equations. Learn how to do that in this video.
In SwiftUI, we can use the alignment parameter to arrange views to the right, left, top and bottom depending on the stack container. This alignment parameter is also animatable. In this video, we look at how to use alignment to create movement.
In this video, we will learn how to make a smooth dashed border rotation animation like 'marching ants' in SwiftUI. This will be done using the dash phase parameter of a shape view.
In this video, we will build the sun and moon animation. You will learn how to
move objects on a circular path
change anchor point position
animate scale parameters such as X and Y.
mask a view using clip shape
In this video, you will build an animation similar to the retweet animation in the Twitter iOS app to demonstrate how to reset an animation to its original state using Dispatch Queue.
Using a gradient start-point or end-point in SwiftUI, we can easily replicate the iOS shimmer animation/effect (Slide to power off). This video shows you how to do that.
In this video, we learn to animate the starting point of the stroke of a path in SwiftUI.
In this video, we will learn to animate the start-point or the end-point of a SwiftUI gradient using a ternary conditional operation.
How to create path drawing animations using the locations at which a path starts and ends.
Rotation Mode determines whether objects animating along the path rotate to match the path tangent. The possible values for this property are described in “Rotation Mode Values”. The default value of this property is nil, which indicates that objects should not rotate to follow the path. In this video, we will look at Rotation Mode using Kite and SwiftUI.
In Core Animation, you can move an object from its state of rest directly to a destination using animation. Additionally, you can use animation to move an object at rest to another position before it finally comes to rest at a defined destination. Multiple animations on an object can be grouped and run concurrently. Enter Basic, Keyframe, and Group Animations in Core Animation using SwiftUI. In this section, we will dive into the above animations in detail using different examples.
In this video, we will learn how to create basic animation using a timeline animation tool called Kite, and SwiftUI.
In this video, we will learn how to animate the device background in SwiftUI to transition from one color to another using Keyframe animation.
In Core Animation and SwiftUI, you can use the duration of an animation group to clip the individual animation durations in the group. Let' break it down. For example, we have an individual fadeout animation in a group that lasts for 6 seconds. Setting the duration of the animation group to, for example, 2 seconds will clip the fadeout animation so the remaining 4 seconds of the fadeout animation will not be displayed. Lets' see how Group Animation works in Core Animation, SwiftUI, and Kite.
In this video, you will discover how to clone the Siri animation using 2D and 3D rotation.
This video demonstrates how to bring illustrations into Xcode and animate with SwiftUI. You will create Duolingo's Get Started onboarding flow animation.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.