LayoutOption

public class LayoutOption : NSObject

Object representing a bubble layout configuration.

  • The size of the avatar image.

    Declaration

    Swift

    public var avatarPictureSize: CGSize
  • Vertical position of the avatar image.

    Declaration

    Swift

    public var avatarVerticalOffset: CGFloat
  • The insets of the bubble image inside its cell.

    Declaration

    Swift

    public var bubbleImageBorderInset: UIEdgeInsets
  • The insets of the text inside the bubble image.

    Declaration

    Swift

    public var textContentBorderInset: UIEdgeInsets
  • The min width to keep between the bubble and the other side of the screen.

    Declaration

    Swift

    public var minRemainingSpace: CGFloat
  • The bubble cell insets.

    Declaration

    Swift

    public var cellLayoutBorderInset: UIEdgeInsets