mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
1 line
46 KiB
JSON
1 line
46 KiB
JSON
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"MessagesLayoutDelegate"},{"kind":"text","text":" : AnyObject"}],"languages":["swift"],"platforms":["iOS"]}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/messagekit\/messageslayoutdelegate"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"A protocol used by the "},{"type":"codeVoice","code":"MessagesCollectionViewFlowLayout"},{"type":"text","text":" object to determine"},{"type":"text","text":" "},{"type":"text","text":"the size and layout of a "},{"type":"codeVoice","code":"MessageCollectionViewCell"},{"type":"text","text":" and its contents."}],"kind":"symbol","metadata":{"fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"MessagesLayoutDelegate"}],"title":"MessagesLayoutDelegate","roleHeading":"Protocol","role":"symbol","symbolKind":"protocol","externalID":"s:10MessageKit22MessagesLayoutDelegateP","modules":[{"name":"MessageKit"}],"navigatorTitle":[{"kind":"identifier","text":"MessagesLayoutDelegate"}]},"hierarchy":{"paths":[["doc:\/\/MessageKit\/documentation\/MessageKit"]]},"topicSections":[{"title":"Instance Methods","identifiers":["doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/attributedTextCellSizeCalculator(for:at:in:)-3lg28","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/audioCellSizeCalculator(for:at:in:)-91zch","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarPosition(for:at:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarSize(for:at:in:)-3r5xp","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelAlignment(for:at:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelHeight(for:at:in:)-1nx35","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelAlignment(for:at:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelHeight(for:at:in:)-wxex","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/contactCellSizeCalculator(for:at:in:)-l047","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/customCellSizeCalculator(for:at:in:)-2fiap","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/emojiCellSizeCalculator(for:at:in:)-3s6el","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/footerViewSize(for:in:)-5rutt","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/headerViewSize(for:in:)-4wzyj","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForLocation(message:at:with:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForMedia(message:at:with:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/locationCellSizeCalculator(for:at:in:)-25x41","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelAlignment(for:at:in:)-1i0zl","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelHeight(for:at:in:)-8ghu7","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageLabelInset(for:at:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messagePadding(for:at:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelAlignment(for:at:in:)-1meyr","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelHeight(for:at:in:)-9yari","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/photoCellSizeCalculator(for:at:in:)-7h6wc","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/shouldCacheLayoutAttributes(for:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/textCellSizeCalculator(for:at:in:)-4boa0","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewSize(for:)-6a325","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewTopInset(in:)-5dnxf","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/videoCellSizeCalculator(for:at:in:)-7mewb","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForLocation(message:at:with:in:)","doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForMedia(message:at:with:in:)"]}],"references":{"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageTopLabelAlignment(for:at:in:)-1meyr":{"defaultImplementations":1,"role":"symbol","title":"messageTopLabelAlignment(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageTopLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Specifies the label alignment for the message bubble’s top label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelAlignment(for:at:in:)-1meyr","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagetoplabelalignment(for:at:in:)-1meyr"},"doc://MessageKit/documentation/MessageKit":{"role":"collection","title":"MessageKit","abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit","kind":"symbol","type":"topic","url":"\/documentation\/messagekit"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate":{"role":"symbol","title":"MessagesLayoutDelegate","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"MessagesLayoutDelegate"}],"abstract":[{"type":"text","text":"A protocol used by the "},{"type":"codeVoice","code":"MessagesCollectionViewFlowLayout"},{"type":"text","text":" object to determine"},{"type":"text","text":" "},{"type":"text","text":"the size and layout of a "},{"type":"codeVoice","code":"MessageCollectionViewCell"},{"type":"text","text":" and its contents."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"MessagesLayoutDelegate"}],"url":"\/documentation\/messagekit\/messageslayoutdelegate"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/heightForMedia(message:at:with:in:)":{"role":"symbol","title":"heightForMedia(message:at:with:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"heightForMedia"},{"kind":"text","text":"("},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForMedia(message:at:with:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/heightformedia(message:at:with:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/shouldCacheLayoutAttributes(for:)":{"role":"symbol","title":"shouldCacheLayoutAttributes(for:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"shouldCacheLayoutAttributes"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/shouldCacheLayoutAttributes(for:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/shouldcachelayoutattributes(for:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/avatarSize(for:at:in:)-3r5xp":{"defaultImplementations":2,"role":"symbol","title":"avatarSize(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"avatarSize"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGSize","preciseIdentifier":"c:@S@CGSize"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Specifies the size for the "},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":"’s avatar image view."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarSize(for:at:in:)-3r5xp","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/avatarsize(for:at:in:)-3r5xp"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/audioCellSizeCalculator(for:at:in:)-91zch":{"defaultImplementations":1,"role":"symbol","title":"audioCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"audioCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Audio cell size calculator for messages with MessageType.audio."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/audioCellSizeCalculator(for:at:in:)-91zch","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/audiocellsizecalculator(for:at:in:)-91zch"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/videoCellSizeCalculator(for:at:in:)-7mewb":{"defaultImplementations":1,"role":"symbol","title":"videoCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"videoCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Video cell size calculator for messages with MessageType.video."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/videoCellSizeCalculator(for:at:in:)-7mewb","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/videocellsizecalculator(for:at:in:)-7mewb"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/emojiCellSizeCalculator(for:at:in:)-3s6el":{"defaultImplementations":1,"role":"symbol","title":"emojiCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"emojiCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Emoji cell size calculator for messages with MessageType.emoji."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/emojiCellSizeCalculator(for:at:in:)-3s6el","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/emojicellsizecalculator(for:at:in:)-3s6el"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellBottomLabelHeight(for:at:in:)-1nx35":{"defaultImplementations":1,"role":"symbol","title":"cellBottomLabelHeight(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellBottomLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[{"type":"text","text":"Specifies the height for the "},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":"’s bottom label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelHeight(for:at:in:)-1nx35","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/cellbottomlabelheight(for:at:in:)-1nx35"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageLabelInset(for:at:in:)":{"role":"symbol","title":"messageLabelInset(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageLabelInset"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"UIEdgeInsets","preciseIdentifier":"c:@S@UIEdgeInsets"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageLabelInset(for:at:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagelabelinset(for:at:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/photoCellSizeCalculator(for:at:in:)-7h6wc":{"defaultImplementations":1,"role":"symbol","title":"photoCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"photoCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Photo cell size calculator for messages with MessageType.photo."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/photoCellSizeCalculator(for:at:in:)-7h6wc","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/photocellsizecalculator(for:at:in:)-7h6wc"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageBottomLabelHeight(for:at:in:)-8ghu7":{"defaultImplementations":1,"role":"symbol","title":"messageBottomLabelHeight(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageBottomLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[{"type":"text","text":"Specifies the height for the "},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":"’s bottom label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelHeight(for:at:in:)-8ghu7","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagebottomlabelheight(for:at:in:)-8ghu7"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellBottomLabelAlignment(for:at:in:)":{"role":"symbol","title":"cellBottomLabelAlignment(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellBottomLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellBottomLabelAlignment(for:at:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/cellbottomlabelalignment(for:at:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/widthForLocation(message:at:with:in:)":{"role":"symbol","title":"widthForLocation(message:at:with:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"widthForLocation"},{"kind":"text","text":"("},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForLocation(message:at:with:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/widthforlocation(message:at:with:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageBottomLabelAlignment(for:at:in:)-1i0zl":{"defaultImplementations":1,"role":"symbol","title":"messageBottomLabelAlignment(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageBottomLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Specifies the label alignment for the message bubble’s bottom label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageBottomLabelAlignment(for:at:in:)-1i0zl","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagebottomlabelalignment(for:at:in:)-1i0zl"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messageTopLabelHeight(for:at:in:)-9yari":{"defaultImplementations":1,"role":"symbol","title":"messageTopLabelHeight(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageTopLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[{"type":"text","text":"Specifies the height for the message bubble’s top label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messageTopLabelHeight(for:at:in:)-9yari","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagetoplabelheight(for:at:in:)-9yari"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/customCellSizeCalculator(for:at:in:)-2fiap":{"defaultImplementations":1,"role":"symbol","title":"customCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"customCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"}],"abstract":[{"type":"text","text":"Custom cell size calculator for messages with MessageType.custom."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/customCellSizeCalculator(for:at:in:)-2fiap","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/customcellsizecalculator(for:at:in:)-2fiap"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/textCellSizeCalculator(for:at:in:)-4boa0":{"defaultImplementations":1,"role":"symbol","title":"textCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"textCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Text cell size calculator for messages with MessageType.text."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/textCellSizeCalculator(for:at:in:)-4boa0","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/textcellsizecalculator(for:at:in:)-4boa0"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/heightForLocation(message:at:with:in:)":{"role":"symbol","title":"heightForLocation(message:at:with:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"heightForLocation"},{"kind":"text","text":"("},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/heightForLocation(message:at:with:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/heightforlocation(message:at:with:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/locationCellSizeCalculator(for:at:in:)-25x41":{"defaultImplementations":1,"role":"symbol","title":"locationCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"locationCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Location cell size calculator for messages with MessageType.location."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/locationCellSizeCalculator(for:at:in:)-25x41","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/locationcellsizecalculator(for:at:in:)-25x41"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/typingIndicatorViewSize(for:)-6a325":{"defaultImplementations":1,"role":"symbol","title":"typingIndicatorViewSize(for:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"typingIndicatorViewSize"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionViewFlowLayout","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionViewFlowLayout"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGSize","preciseIdentifier":"c:@S@CGSize"}],"abstract":[{"type":"text","text":"Specifies the size to use for a typing indicator view."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewSize(for:)-6a325","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/typingindicatorviewsize(for:)-6a325"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/attributedTextCellSizeCalculator(for:at:in:)-3lg28":{"defaultImplementations":1,"role":"symbol","title":"attributedTextCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"attributedTextCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Attributed text cell size calculator for messages with MessageType.attributedText."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/attributedTextCellSizeCalculator(for:at:in:)-3lg28","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/attributedtextcellsizecalculator(for:at:in:)-3lg28"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellTopLabelAlignment(for:at:in:)":{"role":"symbol","title":"cellTopLabelAlignment(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellTopLabelAlignment"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"LabelAlignment","preciseIdentifier":"s:10MessageKit14LabelAlignmentV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelAlignment(for:at:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/celltoplabelalignment(for:at:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/typingIndicatorViewTopInset(in:)-5dnxf":{"defaultImplementations":1,"role":"symbol","title":"typingIndicatorViewTopInset(in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"typingIndicatorViewTopInset"},{"kind":"text","text":"("},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[{"type":"text","text":"Specifies the top inset to use for a typing indicator view."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/typingIndicatorViewTopInset(in:)-5dnxf","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/typingindicatorviewtopinset(in:)-5dnxf"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/widthForMedia(message:at:with:in:)":{"role":"symbol","title":"widthForMedia(message:at:with:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"widthForMedia"},{"kind":"text","text":"("},{"kind":"externalParam","text":"message"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/widthForMedia(message:at:with:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/widthformedia(message:at:with:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/headerViewSize(for:in:)-4wzyj":{"defaultImplementations":1,"role":"symbol","title":"headerViewSize(for:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"headerViewSize"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGSize","preciseIdentifier":"c:@S@CGSize"}],"abstract":[{"type":"text","text":"Specifies the size to use for a header view."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/headerViewSize(for:in:)-4wzyj","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/headerviewsize(for:in:)-4wzyj"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/cellTopLabelHeight(for:at:in:)-wxex":{"defaultImplementations":1,"role":"symbol","title":"cellTopLabelHeight(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellTopLabelHeight"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGFloat","preciseIdentifier":"s:12CoreGraphics7CGFloatV"}],"abstract":[{"type":"text","text":"Specifies the height for the "},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":"’s top label."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/cellTopLabelHeight(for:at:in:)-wxex","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/celltoplabelheight(for:at:in:)-wxex"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/footerViewSize(for:in:)-5rutt":{"defaultImplementations":1,"role":"symbol","title":"footerViewSize(for:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"footerViewSize"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CGSize","preciseIdentifier":"c:@S@CGSize"}],"abstract":[{"type":"text","text":"Specifies the size to use for a footer view."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/footerViewSize(for:in:)-5rutt","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/footerviewsize(for:in:)-5rutt"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/avatarPosition(for:at:in:)":{"role":"symbol","title":"avatarPosition(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"avatarPosition"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"AvatarPosition","preciseIdentifier":"s:10MessageKit14AvatarPositionV"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/avatarPosition(for:at:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/avatarposition(for:at:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/messagePadding(for:at:in:)":{"role":"symbol","title":"messagePadding(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"messagePadding"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"UIEdgeInsets","preciseIdentifier":"c:@S@UIEdgeInsets"}],"abstract":[],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/messagePadding(for:at:in:)","kind":"symbol","type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/messagepadding(for:at:in:)"},"doc://MessageKit/documentation/MessageKit/MessagesLayoutDelegate/contactCellSizeCalculator(for:at:in:)-l047":{"defaultImplementations":1,"role":"symbol","title":"contactCellSizeCalculator(for:at:in:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"contactCellSizeCalculator"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"CellSizeCalculator","preciseIdentifier":"s:10MessageKit18CellSizeCalculatorC"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"Contact cell size calculator for messages with MessageType.contact."}],"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessagesLayoutDelegate\/contactCellSizeCalculator(for:at:in:)-l047","kind":"symbol","required":true,"type":"topic","url":"\/documentation\/messagekit\/messageslayoutdelegate\/contactcellsizecalculator(for:at:in:)-l047"}}} |