Relative Content

Tag Archive for swiftswiftuivstackhstack

Layout question for a numbered list in SwiftUI

I am working on a NumberedList component which works like the <ol> tag in HTML. I’d like to be able provide an arbitrary number of elements, that would be automatically numbered and laid out. However there is one aspect of the layout I can’t quite figure out.