BLACK FRIDAY SALE: Save big on all my Swift books and bundles! >>

How can I apply animation to a border?

Forums > SwiftUI

I recently downloaded Amino and love their animated profile picture frames. But I can't find any guide or tutorial on how to make this myself in a swift or swiftUI app. I was hopping someone with more experince could please point me in the right direction? The closest I've found online is applying a graident layer to a border frame, but that's not what I'm looking for. Thank you for you time!

Here is a visual example for refrence


Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.

Learn more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.