ContentSize

public enum ContentSize : Equatable
  • The content will fill the height of the scroller, width will be dynamic

    Declaration

    Swift

    case fittingWidth
  • The content will fill the width of the scroller, height will be dynamic

    Declaration

    Swift

    case fittingHeight
  • The content size will be the minimum required to fit the content.

    Declaration

    Swift

    case fittingContent
  • Manually provided content size.

    Declaration

    Swift

    case custom(CGSize)