HeightPreference

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
struct HeightPreference : PreferenceKey

Collects height of all the cells, with reduce takes the maximum value for the given key