HeightKey

struct HeightKey : PreferenceKey

Preference Key for height

  • provide a default value for custom dependency

    Declaration

    Swift

    static let defaultValue: CGFloat?
  • Declaration

    Swift

    static func reduce(value: inout CGFloat?,
                       nextValue: () -> CGFloat?)