Horizontal

public enum Horizontal

An enum representing the horizontal alignment of an AvatarView.

  • Positions the AvatarView on the side closest to the cell’s leading edge.

    Declaration

    Swift

    case cellLeading
  • Positions the AvatarView on the side closest to the cell’s trailing edge.

    Declaration

    Swift

    case cellTrailing
  • Positions the AvatarView based on whether the message is from the current Sender. The cell is positioned .cellTrailling if isFromCurrentSender is true and .cellLeading if false.

    Declaration

    Swift

    case natural