ItemSize

public enum ItemSize : Hashable

Represents desired item size.

  • Item size should be fully calculated by the CollectionViewChatLayout. Initial estimated size will be taken from ChatLayoutSettings.

    Declaration

    Swift

    case auto
  • Item size should be fully calculated by the CollectionViewChatLayout. Initial estimated size should be taken from the value provided.

    Declaration

    Swift

    case estimated(CGSize)
  • Item size should be exactly equal to the value provided.

    Declaration

    Swift

    case exact(CGSize)
  • Represents current item size case type.

    See more

    Declaration

    Swift

    public enum CaseType : Hashable, CaseIterable
  • Returns current item size case type.

    Declaration

    Swift

    public var caseType: CaseType { get }
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)