SwiftUI HStack with wrap and dynamic height
Ok, here is a bit more generic & improved variant (for the solution initially introduced in SwiftUI HStack with Wrap) Tested with Xcode 11.4 / iOS 13.4 Note: as height of view is calculated dynamically the result works in run-time, not in Preview struct TagCloudView: View { var tags: [String] @State private var totalHeight = … Read more