I am trying to develop using SwiftUI an image row similar to the one available in the new Journal app in iOS 17 (see below some examples).
What I don’t understand is where to start to handle the layout of the images.
Especially Apple si able to animate the insertion/deletion of the images and also to get a good alignment and content ratio of them (either if they are portrait or landscape).
I don’t understand what would be the best layout structure (like having HStacks in VStacks and calculate the frame with a Geometry Reader? Using Tables? Using LazyVGrids?)
I really don’t know where to start and I would like some hints for the best approach. Better if it would support reordering with drag/drop like Apple.
PS: I am also considering to create an open source library with this if I achieve a good result at the end.