mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
1 line
26 KiB
JSON
1 line
26 KiB
JSON
{"sections":[],"hierarchy":{"paths":[["doc:\/\/messagekit.MessageKit\/documentation\/MessageKit"]]},"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/currentSender"],"anchor":"Instance-Properties","generated":true},{"generated":true,"anchor":"Instance-Methods","title":"Instance Methods","identifiers":["doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/audioCell(for:at:in:)-3fg83","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/cellBottomLabelAttributedText(for:at:)-3au7b","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/cellTopLabelAttributedText(for:at:)-62lx9","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/contactCell(for:at:in:)-2fhfb","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/customCell(for:at:in:)-6e8ol","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/isFromCurrentSender(message:)-4jvfe","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/locationCell(for:at:in:)-4h0fy","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageBottomLabelAttributedText(for:at:)-3cg9p","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageForItem(at:in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageTimestampLabelAttributedText(for:at:)-6klcz","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageTopLabelAttributedText(for:at:)-2h1f6","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/numberOfItems(inSection:in:)-5hi8x","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/numberOfSections(in:)","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/photoCell(for:at:in:)-71tti","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/textCell(for:at:in:)-42u69","doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/typingIndicator(at:in:)-75tj7"]}],"abstract":[{"text":"An object that adopts the ","type":"text"},{"type":"codeVoice","code":"MessagesDataSource"},{"text":" protocol is responsible for providing","type":"text"},{"type":"text","text":" "},{"type":"text","text":"the data required by a "},{"type":"codeVoice","code":"MessagesCollectionView"},{"text":".","type":"text"}],"metadata":{"roleHeading":"Protocol","title":"MessagesDataSource","role":"symbol","fragments":[{"text":"protocol","kind":"keyword"},{"kind":"text","text":" "},{"text":"MessagesDataSource","kind":"identifier"}],"symbolKind":"protocol","navigatorTitle":[{"text":"MessagesDataSource","kind":"identifier"}],"externalID":"s:10MessageKit18MessagesDataSourceP","modules":[{"name":"MessageKit"}]},"identifier":{"url":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource","interfaceLanguage":"swift"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"@","kind":"attribute"},{"preciseIdentifier":"s:ScM","text":"MainActor","kind":"attribute"},{"kind":"text","text":" "},{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MessagesDataSource","kind":"identifier"},{"text":" : AnyObject","kind":"text"}]}],"kind":"declarations"}],"kind":"symbol","schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"paths":["\/documentation\/messagekit\/messagesdatasource"],"traits":[{"interfaceLanguage":"swift"}]}],"references":{"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/cellBottomLabelAttributedText(for:at:)-3au7b":{"required":true,"abstract":[{"type":"text","text":"The attributed text to be used for cell’s bottom label."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellBottomLabelAttributedText"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"text":") -> ","kind":"text"},{"text":"NSAttributedString","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSAttributedString"},{"kind":"text","text":"?"}],"url":"\/documentation\/messagekit\/messagesdatasource\/cellbottomlabelattributedtext(for:at:)-3au7b","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/cellBottomLabelAttributedText(for:at:)-3au7b","title":"cellBottomLabelAttributedText(for:at:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/messageTimestampLabelAttributedText(for:at:)-6klcz":{"role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource\/messagetimestamplabelattributedtext(for:at:)-6klcz","defaultImplementations":1,"abstract":[{"type":"text","text":"The attributed text to be used for cell’s timestamp label."},{"text":" ","type":"text"},{"text":"The timestamp label is shown when showMessageTimestampOnSwipeLeft is enabled by swiping left over the chat controller.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageTimestampLabelAttributedText(for:at:)-6klcz","required":true,"type":"topic","kind":"symbol","title":"messageTimestampLabelAttributedText(for:at:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"messageTimestampLabelAttributedText","kind":"identifier"},{"kind":"text","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":": "},{"preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"NSAttributedString","preciseIdentifier":"c:objc(cs)NSAttributedString","kind":"typeIdentifier"},{"text":"?","kind":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/numberOfItems(inSection:in:)-5hi8x":{"required":true,"abstract":[{"text":"The number of cells to be displayed in the ","type":"text"},{"code":"MessagesCollectionView","type":"codeVoice"},{"type":"text","text":"."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"numberOfItems"},{"text":"(","kind":"text"},{"text":"inSection","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"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":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"}],"url":"\/documentation\/messagekit\/messagesdatasource\/numberofitems(insection:in:)-5hi8x","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/numberOfItems(inSection:in:)-5hi8x","title":"numberOfItems(inSection:in:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/contactCell(for:at:in:)-2fhfb":{"role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource\/contactcell(for:at:in:)-2fhfb","defaultImplementations":1,"abstract":[{"text":"Contact collectionView cell for message with ","type":"text"},{"type":"codeVoice","code":"contact"},{"type":"text","text":" message type."}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/contactCell(for:at:in:)-2fhfb","required":true,"type":"topic","kind":"symbol","title":"contactCell(for:at:in:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"contactCell"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"kind":"text","text":": "},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UICollectionViewCell","kind":"typeIdentifier","text":"UICollectionViewCell"},{"kind":"text","text":"?"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/audioCell(for:at:in:)-3fg83":{"required":true,"abstract":[{"text":"Audio collectionView cell for message with ","type":"text"},{"type":"codeVoice","code":"audio"},{"type":"text","text":" message type."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"audioCell","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"UICollectionViewCell","preciseIdentifier":"c:objc(cs)UICollectionViewCell","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/messagekit\/messagesdatasource\/audiocell(for:at:in:)-3fg83","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/audioCell(for:at:in:)-3fg83","title":"audioCell(for:at:in:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource":{"title":"MessagesDataSource","kind":"symbol","fragments":[{"kind":"keyword","text":"protocol"},{"text":" ","kind":"text"},{"text":"MessagesDataSource","kind":"identifier"}],"abstract":[{"type":"text","text":"An object that adopts the "},{"code":"MessagesDataSource","type":"codeVoice"},{"type":"text","text":" protocol is responsible for providing"},{"text":" ","type":"text"},{"text":"the data required by a ","type":"text"},{"type":"codeVoice","code":"MessagesCollectionView"},{"text":".","type":"text"}],"navigatorTitle":[{"text":"MessagesDataSource","kind":"identifier"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource","type":"topic","role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/cellTopLabelAttributedText(for:at:)-62lx9":{"title":"cellTopLabelAttributedText(for:at:)","role":"symbol","kind":"symbol","abstract":[{"text":"The attributed text to be used for cell’s top label.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/cellTopLabelAttributedText(for:at:)-62lx9","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"cellTopLabelAttributedText"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","text":": "},{"preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"c:objc(cs)NSAttributedString","kind":"typeIdentifier","text":"NSAttributedString"},{"text":"?","kind":"text"}],"type":"topic","required":true,"defaultImplementations":1,"url":"\/documentation\/messagekit\/messagesdatasource\/celltoplabelattributedtext(for:at:)-62lx9"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/messageForItem(at:in:)":{"role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource\/messageforitem(at:in:)","abstract":[{"text":"The message to be used for a ","type":"text"},{"type":"codeVoice","code":"MessageCollectionViewCell"},{"type":"text","text":" at the given "},{"type":"codeVoice","code":"IndexPath"},{"text":".","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageForItem(at:in:)","required":true,"type":"topic","kind":"symbol","title":"messageForItem(at:in:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"messageForItem","kind":"identifier"},{"text":"(","kind":"text"},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/locationCell(for:at:in:)-4h0fy":{"title":"locationCell(for:at:in:)","kind":"symbol","defaultImplementations":1,"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/locationCell(for:at:in:)-4h0fy","abstract":[{"type":"text","text":"Location collectionView cell for message with "},{"type":"codeVoice","code":"location"},{"type":"text","text":" message type."}],"url":"\/documentation\/messagekit\/messagesdatasource\/locationcell(for:at:in:)-4h0fy","required":true,"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"locationCell","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","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":": "},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","text":"UICollectionViewCell","preciseIdentifier":"c:objc(cs)UICollectionViewCell"},{"text":"?","kind":"text"}],"type":"topic","role":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/textCell(for:at:in:)-42u69":{"required":true,"abstract":[{"type":"text","text":"Text collectionView cell for message with "},{"type":"codeVoice","code":"text"},{"text":", ","type":"text"},{"code":"attributedText","type":"codeVoice"},{"type":"text","text":", "},{"code":"emoji","type":"codeVoice"},{"type":"text","text":" message types."}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"textCell","kind":"identifier"},{"text":"(","kind":"text"},{"text":"for","kind":"externalParam"},{"kind":"text","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"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"UICollectionViewCell","preciseIdentifier":"c:objc(cs)UICollectionViewCell","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"url":"\/documentation\/messagekit\/messagesdatasource\/textcell(for:at:in:)-42u69","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/textCell(for:at:in:)-42u69","title":"textCell(for:at:in:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/messageTopLabelAttributedText(for:at:)-2h1f6":{"role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource\/messagetoplabelattributedtext(for:at:)-2h1f6","defaultImplementations":1,"abstract":[{"text":"The attributed text to be used for message bubble’s top label.","type":"text"}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageTopLabelAttributedText(for:at:)-2h1f6","required":true,"type":"topic","kind":"symbol","title":"messageTopLabelAttributedText(for:at:)","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"messageTopLabelAttributedText"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10Foundation9IndexPathV","text":"IndexPath","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"NSAttributedString","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)NSAttributedString"},{"text":"?","kind":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/photoCell(for:at:in:)-71tti":{"required":true,"abstract":[{"type":"text","text":"Photo or Video collectionView cell for message with "},{"code":"photo","type":"codeVoice"},{"type":"text","text":", "},{"code":"video","type":"codeVoice"},{"text":" message types.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"photoCell","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"for"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"text":"at","kind":"externalParam"},{"kind":"text","text":": "},{"text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"kind":"text","text":": "},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"UICollectionViewCell","preciseIdentifier":"c:objc(cs)UICollectionViewCell","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/messagekit\/messagesdatasource\/photocell(for:at:in:)-71tti","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/photoCell(for:at:in:)-71tti","title":"photoCell(for:at:in:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/currentSender":{"role":"symbol","url":"\/documentation\/messagekit\/messagesdatasource\/currentsender","abstract":[{"text":"The ","type":"text"},{"code":"SenderType","type":"codeVoice"},{"type":"text","text":" of new messages in the "},{"code":"MessagesCollectionView","type":"codeVoice"},{"type":"text","text":"."}],"identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/currentSender","required":true,"type":"topic","kind":"symbol","title":"currentSender","fragments":[{"kind":"keyword","text":"var"},{"text":" ","kind":"text"},{"text":"currentSender","kind":"identifier"},{"kind":"text","text":": "},{"text":"SenderType","preciseIdentifier":"s:10MessageKit10SenderTypeP","kind":"typeIdentifier"}]},"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/MessagesDataSource/messageBottomLabelAttributedText(for:at:)-3cg9p":{"required":true,"abstract":[{"text":"The attributed text to be used for cell’s bottom label.","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"messageBottomLabelAttributedText","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"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":") -> "},{"preciseIdentifier":"c:objc(cs)NSAttributedString","kind":"typeIdentifier","text":"NSAttributedString"},{"text":"?","kind":"text"}],"url":"\/documentation\/messagekit\/messagesdatasource\/messagebottomlabelattributedtext(for:at:)-3cg9p","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/messageBottomLabelAttributedText(for:at:)-3cg9p","title":"messageBottomLabelAttributedText(for:at:)","defaultImplementations":1,"type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/isFromCurrentSender(message:)-4jvfe":{"title":"isFromCurrentSender(message:)","kind":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"isFromCurrentSender","kind":"identifier"},{"text":"(","kind":"text"},{"text":"message","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessageType","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":") -> "},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messagesdatasource\/isfromcurrentsender(message:)-4jvfe","required":true,"role":"symbol","defaultImplementations":1,"type":"topic","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/isFromCurrentSender(message:)-4jvfe","abstract":[{"type":"text","text":"A helper method to determine if a given message is from the current "},{"type":"codeVoice","code":"SenderType"},{"text":".","type":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/numberOfSections(in:)":{"required":true,"abstract":[{"text":"The number of sections to be displayed in the ","type":"text"},{"type":"codeVoice","code":"MessagesCollectionView"},{"type":"text","text":"."}],"role":"symbol","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"numberOfSections"},{"text":"(","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"MessagesCollectionView","kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"}],"url":"\/documentation\/messagekit\/messagesdatasource\/numberofsections(in:)","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/numberOfSections(in:)","title":"numberOfSections(in:)","type":"topic","kind":"symbol"},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/customCell(for:at:in:)-6e8ol":{"title":"customCell(for:at:in:)","kind":"symbol","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"customCell","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"for"},{"text":": ","kind":"text"},{"text":"MessageType","kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP"},{"kind":"text","text":", "},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"in","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView"},{"text":") -> ","kind":"text"},{"preciseIdentifier":"c:objc(cs)UICollectionViewCell","text":"UICollectionViewCell","kind":"typeIdentifier"}],"url":"\/documentation\/messagekit\/messagesdatasource\/customcell(for:at:in:)-6e8ol","required":true,"role":"symbol","defaultImplementations":1,"type":"topic","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/customCell(for:at:in:)-6e8ol","abstract":[{"type":"text","text":"Custom collectionView cell for message with "},{"code":"custom","type":"codeVoice"},{"text":" message type.","type":"text"}]},"doc://messagekit.MessageKit/documentation/MessageKit/MessagesDataSource/typingIndicator(at:in:)-75tj7":{"required":true,"abstract":[{"text":"Typing indicator cell used when the indicator is set to be shown","type":"text"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"text":"typingIndicator","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"at"},{"text":": ","kind":"text"},{"text":"IndexPath","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"in"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessagesCollectionView","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView"},{"kind":"text","text":") -> "},{"text":"UICollectionViewCell","kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)UICollectionViewCell"}],"url":"\/documentation\/messagekit\/messagesdatasource\/typingindicator(at:in:)-75tj7","identifier":"doc:\/\/messagekit.MessageKit\/documentation\/MessageKit\/MessagesDataSource\/typingIndicator(at:in:)-75tj7","title":"typingIndicator(at:in:)","defaultImplementations":1,"type":"topic","kind":"symbol"}}} |