mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell"},"abstract":[{"text":"A subclass of ","type":"text"},{"type":"codeVoice","code":"MessageContentCell"},{"text":" used to display text messages.","type":"text"}],"topicSections":[{"title":"Instance Properties","identifiers":["doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/delegate","doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/messageLabel"]},{"title":"Instance Methods","identifiers":["doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/apply(_:)","doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/cellContentView(canHandle:)","doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/configure(with:at:and:)","doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/prepareForReuse()","doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/setupSubviews()"]}],"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"TextMessageCell","kind":"identifier"}]}],"kind":"declarations"}],"metadata":{"roleHeading":"Class","modules":[{"name":"MessageKit"}],"role":"symbol","externalID":"c:@M@MessageKit@objc(cs)TextMessageCell","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"TextMessageCell"}],"navigatorTitle":[{"text":"TextMessageCell","kind":"identifier"}],"symbolKind":"class","title":"TextMessageCell"},"variants":[{"paths":["\/documentation\/messagekit\/textmessagecell"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"relationshipsSections":[{"identifiers":["doc:\/\/MessageKit\/documentation\/MessageKit\/MessageContentCell"],"title":"Inherits From","kind":"relationships","type":"inheritsFrom"},{"type":"inheritedBy","title":"Inherited By","kind":"relationships","identifiers":["doc:\/\/MessageKit\/documentation\/MessageKit\/LinkPreviewMessageCell"]},{"kind":"relationships","identifiers":["doc:\/\/MessageKit\/objc(pl)NSCoding","doc:\/\/MessageKit\/objc(pl)NSObject","doc:\/\/MessageKit\/objc(pl)CALayerDelegate","doc:\/\/MessageKit\/s7CVarArgP","doc:\/\/MessageKit\/s28CustomDebugStringConvertibleP","doc:\/\/MessageKit\/s23CustomStringConvertibleP","doc:\/\/MessageKit\/SQ","doc:\/\/MessageKit\/SH","doc:\/\/MessageKit\/s8SendableP","doc:\/\/MessageKit\/objc(pl)UIAccessibilityIdentification","doc:\/\/MessageKit\/objc(pl)UIActivityItemsConfigurationProviding","doc:\/\/MessageKit\/objc(pl)UIAppearance","doc:\/\/MessageKit\/objc(pl)UIAppearanceContainer","doc:\/\/MessageKit\/objc(pl)UICoordinateSpace","doc:\/\/MessageKit\/objc(pl)UIDynamicItem","doc:\/\/MessageKit\/objc(pl)UIFocusEnvironment","doc:\/\/MessageKit\/objc(pl)UIFocusItem","doc:\/\/MessageKit\/objc(pl)UIFocusItemContainer","doc:\/\/MessageKit\/objc(pl)UILargeContentViewerItem","doc:\/\/MessageKit\/objc(pl)UIPasteConfigurationSupporting","doc:\/\/MessageKit\/objc(pl)UIPopoverPresentationControllerSourceItem","doc:\/\/MessageKit\/objc(pl)UIResponderStandardEditActions","doc:\/\/MessageKit\/5UIKit23UITraitChangeObservableP","doc:\/\/MessageKit\/objc(pl)UITraitEnvironment","doc:\/\/MessageKit\/objc(pl)UIUserActivityRestoring"],"title":"Conforms To","type":"conformsTo"}],"hierarchy":{"paths":[["doc:\/\/MessageKit\/documentation\/MessageKit"]]},"kind":"symbol","sections":[],"references":{"doc://MessageKit/objc(pl)UIDynamicItem":{"title":"UIKit.UIDynamicItem","identifier":"doc:\/\/MessageKit\/objc(pl)UIDynamicItem","type":"unresolvable"},"doc://MessageKit/SH":{"title":"Swift.Hashable","identifier":"doc:\/\/MessageKit\/SH","type":"unresolvable"},"doc://MessageKit/objc(pl)UIFocusItemContainer":{"title":"UIKit.UIFocusItemContainer","identifier":"doc:\/\/MessageKit\/objc(pl)UIFocusItemContainer","type":"unresolvable"},"doc://MessageKit/documentation/MessageKit/TextMessageCell":{"identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"TextMessageCell"}],"navigatorTitle":[{"text":"TextMessageCell","kind":"identifier"}],"type":"topic","title":"TextMessageCell","role":"symbol","abstract":[{"type":"text","text":"A subclass of "},{"type":"codeVoice","code":"MessageContentCell"},{"type":"text","text":" used to display text messages."}],"url":"\/documentation\/messagekit\/textmessagecell","kind":"symbol"},"doc://MessageKit/objc(pl)NSCoding":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)NSCoding","title":"Foundation.NSCoding"},"doc://MessageKit/objc(pl)UIAppearance":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIAppearance","title":"UIKit.UIAppearance"},"doc://MessageKit/objc(pl)UIPopoverPresentationControllerSourceItem":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIPopoverPresentationControllerSourceItem","title":"UIKit.UIPopoverPresentationControllerSourceItem"},"doc://MessageKit/5UIKit23UITraitChangeObservableP":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/5UIKit23UITraitChangeObservableP","title":"UIKit.UITraitChangeObservable"},"doc://MessageKit/objc(pl)UIAccessibilityIdentification":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIAccessibilityIdentification","title":"UIKit.UIAccessibilityIdentification"},"doc://MessageKit/objc(pl)UILargeContentViewerItem":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UILargeContentViewerItem","title":"UIKit.UILargeContentViewerItem"},"doc://MessageKit/objc(pl)NSObject":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)NSObject","title":"ObjectiveC.NSObjectProtocol"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/prepareForReuse()":{"title":"prepareForReuse()","url":"\/documentation\/messagekit\/textmessagecell\/prepareforreuse()","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/prepareForReuse()","role":"symbol","abstract":[],"type":"topic","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"prepareForReuse","kind":"identifier"},{"text":"()","kind":"text"}],"kind":"symbol"},"doc://MessageKit/objc(pl)UITraitEnvironment":{"title":"UIKit.UITraitEnvironment","identifier":"doc:\/\/MessageKit\/objc(pl)UITraitEnvironment","type":"unresolvable"},"doc://MessageKit/objc(pl)UIActivityItemsConfigurationProviding":{"title":"UIKit.UIActivityItemsConfigurationProviding","identifier":"doc:\/\/MessageKit\/objc(pl)UIActivityItemsConfigurationProviding","type":"unresolvable"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/setupSubviews()":{"title":"setupSubviews()","url":"\/documentation\/messagekit\/textmessagecell\/setupsubviews()","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/setupSubviews()","role":"symbol","type":"topic","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"setupSubviews","kind":"identifier"},{"kind":"text","text":"()"}],"kind":"symbol"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/configure(with:at:and:)":{"title":"configure(with:at:and:)","url":"\/documentation\/messagekit\/textmessagecell\/configure(with:at:and:)","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/configure(with:at:and:)","role":"symbol","abstract":[{"type":"text","text":"Used to configure the cell."}],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"configure","kind":"identifier"},{"kind":"text","text":"("},{"kind":"externalParam","text":"with"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:10MessageKit0A4TypeP","text":"MessageType"},{"text":", ","kind":"text"},{"text":"at","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"IndexPath","preciseIdentifier":"s:10Foundation9IndexPathV"},{"text":", ","kind":"text"},{"text":"and","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"c:@M@MessageKit@objc(cs)MessagesCollectionView","text":"MessagesCollectionView","kind":"typeIdentifier"},{"text":")","kind":"text"}],"kind":"symbol"},"doc://MessageKit/s28CustomDebugStringConvertibleP":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/s28CustomDebugStringConvertibleP","title":"Swift.CustomDebugStringConvertible"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/messageLabel":{"title":"messageLabel","url":"\/documentation\/messagekit\/textmessagecell\/messagelabel","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/messageLabel","role":"symbol","abstract":[{"type":"text","text":"The label used to display the message’s text."}],"type":"topic","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"messageLabel","kind":"identifier"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"MessageLabel","preciseIdentifier":"c:@M@MessageKit@objc(cs)MessageLabel"}],"kind":"symbol"},"doc://MessageKit/s7CVarArgP":{"identifier":"doc:\/\/MessageKit\/s7CVarArgP","type":"unresolvable","title":"Swift.CVarArg"},"doc://MessageKit/objc(pl)UIUserActivityRestoring":{"identifier":"doc:\/\/MessageKit\/objc(pl)UIUserActivityRestoring","type":"unresolvable","title":"UIKit.UIUserActivityRestoring"},"doc://MessageKit/objc(pl)CALayerDelegate":{"identifier":"doc:\/\/MessageKit\/objc(pl)CALayerDelegate","type":"unresolvable","title":"QuartzCore.CALayerDelegate"},"doc://MessageKit/objc(pl)UIFocusEnvironment":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIFocusEnvironment","title":"UIKit.UIFocusEnvironment"},"doc://MessageKit/objc(pl)UIAppearanceContainer":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIAppearanceContainer","title":"UIKit.UIAppearanceContainer"},"doc://MessageKit/objc(pl)UIFocusItem":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIFocusItem","title":"UIKit.UIFocusItem"},"doc://MessageKit/objc(pl)UIResponderStandardEditActions":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIResponderStandardEditActions","title":"UIKit.UIResponderStandardEditActions"},"doc://MessageKit/documentation/MessageKit/MessageContentCell":{"title":"MessageContentCell","url":"\/documentation\/messagekit\/messagecontentcell","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/MessageContentCell","navigatorTitle":[{"text":"MessageContentCell","kind":"identifier"}],"role":"symbol","abstract":[{"type":"text","text":"A subclass of "},{"type":"codeVoice","code":"MessageCollectionViewCell"},{"text":" used to display text, media, and location messages.","type":"text"}],"type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"MessageContentCell","kind":"identifier"}],"kind":"symbol"},"doc://MessageKit/objc(pl)UIPasteConfigurationSupporting":{"type":"unresolvable","identifier":"doc:\/\/MessageKit\/objc(pl)UIPasteConfigurationSupporting","title":"UIKit.UIPasteConfigurationSupporting"},"doc://MessageKit/documentation/MessageKit":{"title":"MessageKit","url":"\/documentation\/messagekit","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit","role":"collection","abstract":[],"type":"topic","kind":"symbol"},"doc://MessageKit/documentation/MessageKit/LinkPreviewMessageCell":{"title":"LinkPreviewMessageCell","url":"\/documentation\/messagekit\/linkpreviewmessagecell","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/LinkPreviewMessageCell","navigatorTitle":[{"text":"LinkPreviewMessageCell","kind":"identifier"}],"role":"symbol","abstract":[],"type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"LinkPreviewMessageCell","kind":"identifier"}],"kind":"symbol"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/delegate":{"title":"delegate","url":"\/documentation\/messagekit\/textmessagecell\/delegate","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/delegate","role":"symbol","type":"topic","abstract":[{"type":"text","text":"The "},{"code":"MessageCellDelegate","type":"codeVoice"},{"type":"text","text":" for the cell."}],"fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"delegate","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:10MessageKit0A12CellDelegateP","text":"MessageCellDelegate","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"kind":"symbol"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/apply(_:)":{"title":"apply(_:)","url":"\/documentation\/messagekit\/textmessagecell\/apply(_:)","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/apply(_:)","role":"symbol","abstract":[],"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"apply","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"typeIdentifier","text":"UICollectionViewLayoutAttributes","preciseIdentifier":"c:objc(cs)UICollectionViewLayoutAttributes"},{"text":")","kind":"text"}],"kind":"symbol"},"doc://MessageKit/SQ":{"identifier":"doc:\/\/MessageKit\/SQ","type":"unresolvable","title":"Swift.Equatable"},"doc://MessageKit/objc(pl)UICoordinateSpace":{"identifier":"doc:\/\/MessageKit\/objc(pl)UICoordinateSpace","type":"unresolvable","title":"UIKit.UICoordinateSpace"},"doc://MessageKit/s23CustomStringConvertibleP":{"identifier":"doc:\/\/MessageKit\/s23CustomStringConvertibleP","type":"unresolvable","title":"Swift.CustomStringConvertible"},"doc://MessageKit/s8SendableP":{"identifier":"doc:\/\/MessageKit\/s8SendableP","type":"unresolvable","title":"Swift.Sendable"},"doc://MessageKit/documentation/MessageKit/TextMessageCell/cellContentView(canHandle:)":{"title":"cellContentView(canHandle:)","url":"\/documentation\/messagekit\/textmessagecell\/cellcontentview(canhandle:)","identifier":"doc:\/\/MessageKit\/documentation\/MessageKit\/TextMessageCell\/cellContentView(canHandle:)","role":"symbol","type":"topic","abstract":[{"type":"text","text":"Used to handle the cell’s contentView’s tap gesture."},{"text":" ","type":"text"},{"type":"text","text":"Return false when the contentView does not need to handle the gesture."}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"cellContentView","kind":"identifier"},{"text":"(","kind":"text"},{"text":"canHandle","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"c:@S@CGPoint","text":"CGPoint"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"kind":"symbol"}}} |