Objective-CclassChatKit
CKChatItemLayoutUtilities
@interface CKChatItemLayoutUtilities : NSObject
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
Members 18
- method
+ (double)adjustedBalloonTopSpacingWithSpacing:(double)arg0 previousChatItem:(id)arg1; - method
+ (double)adjustedTopSpacingForTextAlignmentInsetsWithSpacing:(double)arg0 chatItem:(id)arg1 previousChatItem:(id)arg2; - method
+ (id)avatarSupplementaryItemForChatItem:(id)arg0 layoutEnvironment:(id)arg1; - method
+ (id)balloonEdgeSpacingForItemWithLayoutEnvironment:(id)arg0 orientation:(BOOL)arg1 itemSize:(CGSize)arg2 supplementaryItems:(id)arg3; - method
+ (id)dynamicWidthLayoutSizeWithHeight:(double)arg0; - method
+ (id)layoutGroupForItem:(id)arg0; - method
+ (id)layoutSizeWithSize:(CGSize)arg0; - method
+ (BOOL)layoutTypeIsMessageBalloonForChatItem:(id)arg0; - method
+ (BOOL)needsAdditionalBracketPaddingForChatItem:(id)arg0 prevChatItem:(id)arg1; - method
+ (BOOL)nextItemIsOriginatorWithRepliesForIndex:(unsigned long long)arg0 allDatasourceItems:(id)arg1; - method
+ (BOOL)nextMessageIsReplyForIndex:(unsigned long long)arg0 allDatasourceItems:(id)arg1; - method
+ (BOOL)prevMessageIsReplyForIndex:(unsigned long long)arg0 allDatasourceItems:(id)arg1; - method
+ (CGSize)sizeWithLayoutSize:(id)arg0; - method
+ (id)tapbackLayoutAnchorForAcknowledgmentChatItem:(id)arg0; - method
+ (id)tapbackSupplementaryItemForChatItem:(id)arg0 layoutEnvironment:(id)arg1; - method
+ (id)transcriptBalloonVerticalLayoutSpacingWithTopSpacing:(double)arg0 bottomSpacing:(double)arg1 previousChatItem:(id)arg2; - method
+ (double)transcriptTapbackMinSpacingForSenderChatItem:(id)arg0 withNextChatItem:(id)arg1 previousItem:(id)arg2 associatedChatItem:(id)arg3; - method
+ (id)transcriptVerticalEdgeSpacingForChatItem:(id)arg0 previousChatItem:(id)arg1 topSpacing:(double)arg2 bottomSpacing:(double)arg3;
Header
@interface CKChatItemLayoutUtilities : NSObject + (BOOL)needsAdditionalBracketPaddingForChatItem:(id)chatItem prevChatItem:(id)prevChatItem; + (double)adjustedBalloonTopSpacingWithSpacing:(double)spacing previousChatItem:(id)previousChatItem; + (double)adjustedTopSpacingForTextAlignmentInsetsWithSpacing:(double)spacing chatItem:(id)chatItem previousChatItem:(id)previousChatItem; + (id)avatarSupplementaryItemForChatItem:(id)chatItem layoutEnvironment:(id)layoutEnvironment; + (id)balloonEdgeSpacingForItemWithLayoutEnvironment:(id)layoutEnvironment orientation:(BOOL)orientation itemSize:(struct CGSize)itemSize supplementaryItems:(id)supplementaryItems; + (id)dynamicWidthLayoutSizeWithHeight:(double)height; + (id)layoutGroupForItem:(id)item; + (id)layoutSizeWithSize:(struct CGSize)size; + (BOOL)layoutTypeIsMessageBalloonForChatItem:(id)chatItem; + (BOOL)nextItemIsOriginatorWithRepliesForIndex:(unsigned long long)index allDatasourceItems:(id)allDatasourceItems; + (BOOL)nextMessageIsReplyForIndex:(unsigned long long)index allDatasourceItems:(id)allDatasourceItems; + (BOOL)prevMessageIsReplyForIndex:(unsigned long long)index allDatasourceItems:(id)allDatasourceItems; + (struct CGSize)sizeWithLayoutSize:(id)layoutSize; + (id)tapbackLayoutAnchorForAcknowledgmentChatItem:(id)acknowledgmentChatItem; + (id)tapbackSupplementaryItemForChatItem:(id)chatItem layoutEnvironment:(id)layoutEnvironment; + (id)transcriptBalloonVerticalLayoutSpacingWithTopSpacing:(double)topSpacing bottomSpacing:(double)bottomSpacing previousChatItem:(id)previousChatItem; + (double)transcriptTapbackMinSpacingForSenderChatItem:(id)senderChatItem withNextChatItem:(id)withNextChatItem previousItem:(id)previousItem associatedChatItem:(id)associatedChatItem; + (id)transcriptVerticalEdgeSpacingForChatItem:(id)chatItem previousChatItem:(id)previousChatItem topSpacing:(double)topSpacing bottomSpacing:(double)bottomSpacing; @end