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 try! Swift Tokyo.

SPONSORED Ready to dive into the world of Swift? try! Swift Tokyo is the premier iOS developer conference will be happened in April 9th-11th, where you can learn from industry experts, connect with fellow developers, and explore the latest in Swift and iOS development. Don’t miss out on this opportunity to level up your skills and be part of the Swift community!

Get your ticket here

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.