ItemKind

public enum ItemKind : CaseIterable, Hashable, Sendable

Type of the item supported by CollectionViewChatLayout

  • Header item

    Declaration

    Swift

    case header
  • Cell item

    Declaration

    Swift

    case cell
  • Footer item

    Declaration

    Swift

    case footer
  • Returns: true if this ItemKind is equal to ItemKind.header or ItemKind.footer

    Declaration

    Swift

    @available(*, deprecated, message: "Support for supplementary views is deprecated and will be discontinued in future versions.")
    public var isSupplementaryItem: Bool { get }
  • A collection of all values of this type.

    Declaration

    Swift

    public static var allCases: [ItemKind] { get }