MessagesCollectionViewLayoutAttributes
open class MessagesCollectionViewLayoutAttributes: UICollectionViewLayoutAttributes
The layout attributes used by a MessageCollectionViewCell
to layout its subviews.
-
Undocumented
Declaration
Swift
public var avatarSize: CGSize = .zero
-
Undocumented
Declaration
Swift
public var avatarPosition = AvatarPosition(vertical: .cellBottom)
-
Undocumented
Declaration
Swift
public var messageContainerSize: CGSize = .zero
-
Undocumented
Declaration
Swift
public var messageContainerPadding: UIEdgeInsets = .zero
-
Undocumented
Declaration
Swift
public var messageLabelFont: UIFont = UIFont.preferredFont(forTextStyle: .body)
-
Undocumented
Declaration
Swift
public var messageLabelInsets: UIEdgeInsets = .zero
-
Undocumented
Declaration
Swift
public var cellTopLabelAlignment = LabelAlignment(textAlignment: .center, textInsets: .zero)
-
Undocumented
Declaration
Swift
public var cellTopLabelSize: CGSize = .zero
-
Undocumented
Declaration
Swift
public var messageTopLabelAlignment = LabelAlignment(textAlignment: .center, textInsets: .zero)
-
Undocumented
Declaration
Swift
public var messageTopLabelSize: CGSize = .zero
-
Undocumented
Declaration
Swift
public var messageBottomLabelAlignment = LabelAlignment(textAlignment: .center, textInsets: .zero)
-
Undocumented
Declaration
Swift
public var messageBottomLabelSize: CGSize = .zero
-
Undocumented
Declaration
Swift
open override func copy(with zone: NSZone? = nil) -> Any
-
Undocumented
Declaration
Swift
open override func isEqual(_ object: Any?) -> Bool