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