ChatItemAlignment

public enum ChatItemAlignment : Hashable

Represent item alignment in collection view layout

  • Should be aligned at the leading edge of the layout. That includes all the additional content offsets.

    Declaration

    Swift

    case leading
  • Should be aligned at the center of the layout.

    Declaration

    Swift

    case center
  • Should be aligned at the trailing edge of the layout.

    Declaration

    Swift

    case trailing
  • Should be aligned using the full width of the available content width.

    Declaration

    Swift

    case fullWidth