ItemSize
public enum ItemSize : Hashable, Sendable
Represents desired item size.
-
Item size should be fully calculated by the
CollectionViewChatLayout. Initial estimated size will be taken fromChatLayoutSettings.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 moreDeclaration
Swift
public enum CaseType : Hashable, CaseIterable, Sendable -
Returns current item size case type.
Declaration
Swift
public var caseType: CaseType { get } -
Declaration
Swift
public func hash(into hasher: inout Hasher)