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

SOLVED: Vertical timeline of steps

Forums > SwiftUI

I'm a beginer and looking to take on a project that i haven't been able to find any example code for so far. I think part of my struggle is "timelineView" is a thing, but not the thing i am looking for, so any pairing of the the term timeline and swift provides search results that are not ideal.

Basically looking to create vertically laid out timeline based on input of steps. Simply laying out a vertical timeline with evenly spaced out steps would be the first step. I think a stretch goal is to have the steps spaced out relative to their duration. If anyone has some suggestions of how i could start or could point me in the direction of some code i could build off of, that would be amazing.

I found a vertical timeline exmaple of a bread baking process i think, just as an example of what I'm picturing.

Thank you in advance,


Vertcial Timeline



Hi Brian,

As to the best of my knowledge Paul doesn't have anything that's going into your desired direction on this site, I'd like to recommend this video from Kavsoft:

You may want to slow down the playback speed a bit, but I think it will provide you with a nice idea/entry point of how to realize something similar to what you are looking for.



This was really helpful and I was able to get it going in my app. Even having the spacing based off a precentage of the available screen. Thank you so much!



That's great to hear, I'm glad I could help. You may want to consider marking this thread as solved, then.


Hacking with Swift is sponsored by Guardsquare

SPONSORED AppSweep by Guardsquare helps developers automate the mobile app security testing process with fast, free scans. By using AppSweep’s actionable recommendations, developers can improve the security posture of their apps in accordance with security standards like OWASP.

Learn more

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

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

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.