Files
MessageKit/data/documentation/messagekit/messageslayoutdelegate.json
2025-01-09 19:28:27 +00:00

1 line
47 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/messagekit\/messageslayoutdelegate"]}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"@","kind":"attribute"},{"text":"MainActor","preciseIdentifier":"s:ScM","kind":"attribute"},{"text":" ","kind":"text"},{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MessagesLayoutDelegate","kind":"identifier"},{"text":" : AnyObject","kind":"text"}],"platforms":["iOS"]}]}],"abstract":[{"text":"A protocol used by the ","type":"text"},{"type":"codeVoice","code":"MessagesCollectionViewFlowLayout"},{"text":" object to determine","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the size and layout of a "},{"code":"MessageCollectionViewCell","type":"codeVoice"},{"type":"text","text":" and its contents."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate"},"sections":[],"metadata":{"title":"MessagesLayoutDelegate","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MessagesLayoutDelegate","kind":"identifier"}],"externalID":"s:10MessageKit22MessagesLayoutDelegateP","symbolKind":"protocol","role":"symbol","modules":[{"name":"MessageKit"}],"roleHeading":"Protocol","navigatorTitle":[{"text":"MessagesLayoutDelegate","kind":"identifier"}]},"topicSections":[{"anchor":"Instance-Methods","identifiers":["doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/attributedTextCellSizeCalculator(for:at:in:)-3lg28","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/audioCellSizeCalculator(for:at:in:)-91zch","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarPosition(for:at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarSize(for:at:in:)-3r5xp","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelAlignment(for:at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelHeight(for:at:in:)-6x09g","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelAlignment(for:at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelHeight(for:at:in:)-5wjhn","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/contactCellSizeCalculator(for:at:in:)-l047","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/customCellSizeCalculator(for:at:in:)-2fiap","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/emojiCellSizeCalculator(for:at:in:)-3s6el","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/footerViewSize(for:in:)-5rutt","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/headerViewSize(for:in:)-4wzyj","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForLocation(message:at:with:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForMedia(message:at:with:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/locationCellSizeCalculator(for:at:in:)-25x41","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelAlignment(for:at:in:)-1i0zl","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelHeight(for:at:in:)-7ndue","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageLabelInset(for:at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messagePadding(for:at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelAlignment(for:at:in:)-1meyr","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelHeight(for:at:in:)-453l0","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/photoCellSizeCalculator(for:at:in:)-7h6wc","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/shouldCacheLayoutAttributes(for:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/textCellSizeCalculator(for:at:in:)-4boa0","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewSize(for:)-6a325","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewTopInset(in:)-36ne1","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/videoCellSizeCalculator(for:at:in:)-7mewb","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForLocation(message:at:with:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForMedia(message:at:with:in:)"],"generated":true,"title":"Instance Methods"}],"hierarchy":{"paths":[["doc:\/\/messagekit.MessageKit\/documentation\/MessageKit"]]},"kind":"symbol","references":{"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/textCellSizeCalculator(for:at:in:)-4boa0":{"kind":"symbol","abstract":[{"type":"text","text":"Text cell size calculator for messages with MessageType.text."}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/textCellSizeCalculator(for:at:in:)-4boa0","title":"textCellSizeCalculator(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"textCellSizeCalculator"},{"kind":"text","text":"("},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView"},{"text":") -> ","kind":"text"},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"text":"?","kind":"text"}],"defaultImplementations":1,"required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/textcellsizecalculator(for:at:in:)-4boa0"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellTopLabelHeight(for:at:in:)-5wjhn":{"title":"cellTopLabelHeight(for:at:in:)","role":"symbol","kind":"symbol","abstract":[{"type":"text","text":"Specifies the height for the "},{"type":"codeVoice","code":"MessageContentCell"},{"text":"s top label.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelHeight(for:at:in:)-5wjhn","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellTopLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"}],"type":"topic","required":true,"defaultImplementations":1,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/celltoplabelheight(for:at:in:)-5wjhn"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/headerViewSize(for:in:)-4wzyj":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/headerViewSize(for:in:)-4wzyj","url":"\/documentation\/messagekit\/messageslayoutdelegate\/headerviewsize(for:in:)-4wzyj","title":"headerViewSize(for:in:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"headerViewSize"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CGSize","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGSize"}],"role":"symbol","kind":"symbol","required":true,"defaultImplementations":1,"abstract":[{"text":"Specifies the size to use for a header view.","type":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellBottomLabelAlignment(for:at:in:)":{"kind":"symbol","abstract":[],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelAlignment(for:at:in:)","title":"cellBottomLabelAlignment(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cellBottomLabelAlignment","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:10MessageKit14LabelAlignmentV","text":"LabelAlignment","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate\/cellbottomlabelalignment(for:at:in:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/contactCellSizeCalculator(for:at:in:)-l047":{"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"contactCellSizeCalculator","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"text":"?","kind":"text"}],"defaultImplementations":1,"kind":"symbol","title":"contactCellSizeCalculator(for:at:in:)","abstract":[{"type":"text","text":"Contact cell size calculator for messages with MessageType.contact."}],"type":"topic","required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/contactcellsizecalculator(for:at:in:)-l047","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/contactCellSizeCalculator(for:at:in:)-l047"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellTopLabelAlignment(for:at:in:)":{"abstract":[],"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/celltoplabelalignment(for:at:in:)","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelAlignment(for:at:in:)","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellTopLabelAlignment"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"text":"LabelAlignment","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"}],"kind":"symbol","title":"cellTopLabelAlignment(for:at:in:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/widthForLocation(message:at:with:in:)":{"url":"\/documentation\/messagekit\/messageslayoutdelegate\/widthforlocation(message:at:with:in:)","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForLocation(message:at:with:in:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"widthForLocation"},{"kind":"text","text":"("},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"}],"kind":"symbol","type":"topic","title":"widthForLocation(message:at:with:in:)","abstract":[],"role":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageTopLabelHeight(for:at:in:)-453l0":{"abstract":[{"text":"Specifies the height for the message bubbles top label.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelHeight(for:at:in:)-453l0","type":"topic","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"messageTopLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"}],"defaultImplementations":1,"title":"messageTopLabelHeight(for:at:in:)","role":"symbol","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagetoplabelheight(for:at:in:)-453l0","required":true},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/heightForLocation(message:at:with:in:)":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForLocation(message:at:with:in:)","url":"\/documentation\/messagekit\/messageslayoutdelegate\/heightforlocation(message:at:with:in:)","title":"heightForLocation(message:at:with:in:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"heightForLocation","kind":"identifier"},{"text":"(","kind":"text"},{"text":"message","kind":"externalParam"},{"kind":"text","text":": "},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"text":", ","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CGFloat","kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CGFloat","kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV"}],"role":"symbol","kind":"symbol","abstract":[]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/avatarSize(for:at:in:)-3r5xp":{"defaultImplementations":2,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"avatarSize"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"c:@S@CGSize","text":"CGSize","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarSize(for:at:in:)-3r5xp","role":"symbol","abstract":[{"text":"Specifies the size for the ","type":"text"},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":"s avatar image view."}],"required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/avatarsize(for:at:in:)-3r5xp","title":"avatarSize(for:at:in:)","kind":"symbol","type":"topic"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/heightForMedia(message:at:with:in:)":{"kind":"symbol","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"heightForMedia"},{"kind":"text","text":"("},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"}],"type":"topic","title":"heightForMedia(message:at:with:in:)","url":"\/documentation\/messagekit\/messageslayoutdelegate\/heightformedia(message:at:with:in:)","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForMedia(message:at:with:in:)","abstract":[]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messagePadding(for:at:in:)":{"kind":"symbol","abstract":[],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messagePadding(for:at:in:)","title":"messagePadding(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"messagePadding","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"preciseIdentifier":"c:@S@UIEdgeInsets","text":"UIEdgeInsets","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagepadding(for:at:in:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/attributedTextCellSizeCalculator(for:at:in:)-3lg28":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/attributedTextCellSizeCalculator(for:at:in:)-3lg28","url":"\/documentation\/messagekit\/messageslayoutdelegate\/attributedtextcellsizecalculator(for:at:in:)-3lg28","title":"attributedTextCellSizeCalculator(for:at:in:)","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"attributedTextCellSizeCalculator","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"text":"?","kind":"text"}],"role":"symbol","kind":"symbol","required":true,"defaultImplementations":1,"abstract":[{"text":"Attributed text cell size calculator for messages with MessageType.attributedText.","type":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/locationCellSizeCalculator(for:at:in:)-25x41":{"kind":"symbol","abstract":[{"text":"Location cell size calculator for messages with MessageType.location.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/locationCellSizeCalculator(for:at:in:)-25x41","title":"locationCellSizeCalculator(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"locationCellSizeCalculator","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier","text":"MessagesCollectionView"},{"text":") -> ","kind":"text"},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"defaultImplementations":1,"required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/locationcellsizecalculator(for:at:in:)-25x41"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/audioCellSizeCalculator(for:at:in:)-91zch":{"url":"\/documentation\/messagekit\/messageslayoutdelegate\/audiocellsizecalculator(for:at:in:)-91zch","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/audioCellSizeCalculator(for:at:in:)-91zch","type":"topic","required":true,"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"audioCellSizeCalculator","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","kind":"typeIdentifier","text":"MessageType"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"text":"?","kind":"text"}],"title":"audioCellSizeCalculator(for:at:in:)","defaultImplementations":1,"role":"symbol","abstract":[{"text":"Audio cell size calculator for messages with MessageType.audio.","type":"text"}],"kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/customCellSizeCalculator(for:at:in:)-2fiap":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/customCellSizeCalculator(for:at:in:)-2fiap","url":"\/documentation\/messagekit\/messageslayoutdelegate\/customcellsizecalculator(for:at:in:)-2fiap","title":"customCellSizeCalculator(for:at:in:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"customCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC","text":"CellSizeCalculator","kind":"typeIdentifier"}],"role":"symbol","kind":"symbol","required":true,"defaultImplementations":1,"abstract":[{"type":"text","text":"Custom cell size calculator for messages with MessageType.custom."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate":{"kind":"symbol","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MessagesLayoutDelegate","kind":"identifier"}],"type":"topic","navigatorTitle":[{"kind":"identifier","text":"MessagesLayoutDelegate"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate","title":"MessagesLayoutDelegate","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate","abstract":[{"type":"text","text":"A protocol used by the "},{"type":"codeVoice","code":"MessagesCollectionViewFlowLayout"},{"text":" object to determine","type":"text"},{"type":"text","text":" "},{"text":"the size and layout of a ","type":"text"},{"type":"codeVoice","code":"MessageCollectionViewCell"},{"type":"text","text":" and its contents."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellBottomLabelHeight(for:at:in:)-6x09g":{"kind":"symbol","abstract":[{"type":"text","text":"Specifies the height for the "},{"code":"MessageContentCell","type":"codeVoice"},{"type":"text","text":"s bottom label."}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelHeight(for:at:in:)-6x09g","title":"cellBottomLabelHeight(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cellBottomLabelHeight","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"text":"CGFloat","preciseIdentifier":"s:14CoreFoundation7CGFloatV","kind":"typeIdentifier"}],"defaultImplementations":1,"required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/cellbottomlabelheight(for:at:in:)-6x09g"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/shouldCacheLayoutAttributes(for:)":{"type":"topic","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/shouldCacheLayoutAttributes(for:)","kind":"symbol","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"shouldCacheLayoutAttributes","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"text":") -> ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"title":"shouldCacheLayoutAttributes(for:)","role":"symbol","url":"\/documentation\/messagekit\/messageslayoutdelegate\/shouldcachelayoutattributes(for:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageBottomLabelHeight(for:at:in:)-7ndue":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelHeight(for:at:in:)-7ndue","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagebottomlabelheight(for:at:in:)-7ndue","title":"messageBottomLabelHeight(for:at:in:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageBottomLabelHeight"},{"kind":"text","text":"("},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"}],"role":"symbol","kind":"symbol","required":true,"defaultImplementations":1,"abstract":[{"type":"text","text":"Specifies the height for the "},{"code":"MessageContentCell","type":"codeVoice"},{"type":"text","text":"s bottom label."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/widthForMedia(message:at:with:in:)":{"kind":"symbol","abstract":[],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForMedia(message:at:with:in:)","title":"widthForMedia(message:at:with:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"widthForMedia","kind":"identifier"},{"kind":"text","text":"("},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"with","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"CGFloat","kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier","text":"MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate\/widthformedia(message:at:with:in:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/typingIndicatorViewSize(for:)-6a325":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewSize(for:)-6a325","url":"\/documentation\/messagekit\/messageslayoutdelegate\/typingindicatorviewsize(for:)-6a325","title":"typingIndicatorViewSize(for:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"typingIndicatorViewSize"},{"kind":"text","text":"("},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionViewFlowLayout","text":"MessagesCollectionViewFlowLayout","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CGSize","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGSize"}],"role":"symbol","kind":"symbol","required":true,"defaultImplementations":1,"abstract":[{"type":"text","text":"Specifies the size to use for a typing indicator view."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageBottomLabelAlignment(for:at:in:)-1i0zl":{"abstract":[{"text":"Specifies the label alignment for the message bubbles bottom label.","type":"text"}],"title":"messageBottomLabelAlignment(for:at:in:)","required":true,"role":"symbol","defaultImplementations":1,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagebottomlabelalignment(for:at:in:)-1i0zl","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"messageBottomLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10MessageKit0A4TypeP","kind":"typeIdentifier","text":"MessageType"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier","text":"IndexPath"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"type":"topic","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelAlignment(for:at:in:)-1i0zl"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageTopLabelAlignment(for:at:in:)-1meyr":{"kind":"symbol","required":true,"role":"symbol","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"messageTopLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"text":"in","kind":"externalParam"},{"kind":"text","text":": "},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"},{"text":"?","kind":"text"}],"defaultImplementations":1,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagetoplabelalignment(for:at:in:)-1meyr","title":"messageTopLabelAlignment(for:at:in:)","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelAlignment(for:at:in:)-1meyr","abstract":[{"type":"text","text":"Specifies the label alignment for the message bubbles top label."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/footerViewSize(for:in:)-5rutt":{"kind":"symbol","required":true,"role":"symbol","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"footerViewSize"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Si","text":"Int"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"CGSize","kind":"typeIdentifier","preciseIdentifier":"c:@S@CGSize"}],"defaultImplementations":1,"title":"footerViewSize(for:in:)","url":"\/documentation\/messagekit\/messageslayoutdelegate\/footerviewsize(for:in:)-5rutt","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/footerViewSize(for:in:)-5rutt","abstract":[{"text":"Specifies the size to use for a footer view.","type":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit":{"type":"topic","role":"collection","title":"MessageKit","abstract":[],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit","kind":"symbol","url":"\/documentation\/messagekit"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/emojiCellSizeCalculator(for:at:in:)-3s6el":{"kind":"symbol","title":"emojiCellSizeCalculator(for:at:in:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"emojiCellSizeCalculator"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier","text":"IndexPath"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC","text":"CellSizeCalculator","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate\/emojicellsizecalculator(for:at:in:)-3s6el","required":true,"role":"symbol","defaultImplementations":1,"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/emojiCellSizeCalculator(for:at:in:)-3s6el","type":"topic","abstract":[{"type":"text","text":"Emoji cell size calculator for messages with MessageType.emoji."}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageLabelInset(for:at:in:)":{"kind":"symbol","abstract":[],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageLabelInset(for:at:in:)","title":"messageLabelInset(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"messageLabelInset","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"c:@S@UIEdgeInsets","text":"UIEdgeInsets","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagelabelinset(for:at:in:)"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/avatarPosition(for:at:in:)":{"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarPosition(for:at:in:)","url":"\/documentation\/messagekit\/messageslayoutdelegate\/avatarposition(for:at:in:)","title":"avatarPosition(for:at:in:)","type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"avatarPosition","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"s:10MessageKit14AvatarPositionV","text":"AvatarPosition","kind":"typeIdentifier"}],"role":"symbol","kind":"symbol","abstract":[]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/typingIndicatorViewTopInset(in:)-36ne1":{"required":true,"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewTopInset(in:)-36ne1","title":"typingIndicatorViewTopInset(in:)","abstract":[{"type":"text","text":"Specifies the top inset to use for a typing indicator view."}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"typingIndicatorViewTopInset","kind":"identifier"},{"kind":"text","text":"("},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat","kind":"typeIdentifier"}],"defaultImplementations":1,"kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/typingindicatorviewtopinset(in:)-36ne1"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/videoCellSizeCalculator(for:at:in:)-7mewb":{"type":"topic","abstract":[{"text":"Video cell size calculator for messages with MessageType.video.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/videoCellSizeCalculator(for:at:in:)-7mewb","url":"\/documentation\/messagekit\/messageslayoutdelegate\/videocellsizecalculator(for:at:in:)-7mewb","required":true,"defaultImplementations":1,"role":"symbol","title":"videoCellSizeCalculator(for:at:in:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"videoCellSizeCalculator","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"text":"CellSizeCalculator","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"text":"?","kind":"text"}],"kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesLayoutDelegate/photoCellSizeCalculator(for:at:in:)-7h6wc":{"kind":"symbol","abstract":[{"type":"text","text":"Photo cell size calculator for messages with MessageType.photo."}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/photoCellSizeCalculator(for:at:in:)-7h6wc","title":"photoCellSizeCalculator(for:at:in:)","type":"topic","role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"photoCellSizeCalculator","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC","text":"CellSizeCalculator"},{"text":"?","kind":"text"}],"defaultImplementations":1,"required":true,"url":"\/documentation\/messagekit\/messageslayoutdelegate\/photocellsizecalculator(for:at:in:)-7h6wc"}}}