GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

Animating a Stepper Button on SwiftUI

Forums > SwiftUI

@niju  

Hi, with reference to the project seen here: https://twitter.com/Volorf/status/1813177399078514884

I've been having a hard time to replicate an 3D-animated stepper button, where the button gets depressed spatially when you click on it. Does anyone know the framework to how this should be done?

I appreciate your help, even a starting point would help me as I'm pretty lost.

   

Keep Coding

It's easy to find his repositories on Github. Did you start there?

This is a site mostly for beginners; programmers new to Swift and SwiftUI. The concepts you see in that video are quite complex.

Good Luck in finding your solutions. Please revisit here and share your learnings!

   

@niju  

Hi @obelix. Yes I've definitely scoured through his work, including Github, to find source files and unfortunately he didn't seem to have released it for this particular one. Would you happen to know the concepts that you would have to work with to achieve an animation like this?

   

Hacking with Swift is sponsored by Essential Developer.

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until February 9th.

Click to save your free spot now

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.