Member-only story
How To Create Fun Card Animations in SwiftUI
Your imagination is the only limit

Note: All bank cards used here are fake, of course
Introduction
It’s been a couple of months since iOS 13 was released, and although still too soon to be fully supported in our apps, it’s worth taking a look at the two major frameworks that were introduced in this new version: SwiftUI and Combine. No doubt they are the future of iOS development.
Over the last few months, I’ve been playing around with SwiftUI. Even if there are still some things that I feel are missing, I’ve been pleasantly surprised about how extremely easy it is to customize your UI as well as animate it. Something that would take loads of code in UIkit can be accomplished by a couple of lines in SwiftUI. And the best part is it goes smoothly and quickly! It bypasses Core Animation and goes down straight to Metal.
Forget about UIkit and move on, because you’re getting left behind, pal!
BankCards: Quick Overview
BankCards is a small example of what you can do with SwiftUI. I started it out of the blue one of those days I felt inspired. Sometimes, it’s honestly more difficult to come up with a good idea to play around with a new framework than the implementation; I’m…