ChatLayoutSettings
public struct ChatLayoutSettings : Equatable, Sendable
CollectionViewChatLayout
settings.
-
Represents type of pinnable elements in the layout.
See moreDeclaration
Swift
public enum PinneableItems : Equatable, Sendable
-
Estimated item size for
CollectionViewChatLayout
. This value will be used as the initial size of the item and the final size will be calculated usingUICollectionViewCell.preferredLayoutAttributesFitting(...)
.Declaration
Swift
public var estimatedItemSize: CGSize?
-
Spacing between the items in the section.
Declaration
Swift
public var interItemSpacing: CGFloat
-
Spacing between the sections.
Declaration
Swift
public var interSectionSpacing: CGFloat
-
Additional insets for the
CollectionViewChatLayout
content.Declaration
Swift
public var additionalInsets: UIEdgeInsets
-
Confugures what elements can be pinned in the layout.
Declaration
Swift
public var pinnableItems: PinneableItems