ChatLayoutSettings

public struct ChatLayoutSettings : Equatable

CollectionViewChatLayout settings.

  • Estimated item size for CollectionViewChatLayout. This value will be used as the initial size of the item and the final size will be calculated using UICollectionViewCell.preferredLayoutAttributesFitting(...).

    Declaration

    Swift

    public var estimatedItemSize: CGSize?
  • Spacing between the items in the section.

    Declaration

    Swift

    public var interItemSpacing: CGFloat
  • Spacing between the sections.

    Declaration

    Swift

    public var interSectionSpacing: CGFloat
  • Additional insets for the CollectionViewChatLayout content.

    Declaration

    Swift

    public var additionalInsets: UIEdgeInsets