Classes
The following classes are available globally.
-
A subclass of
See moreMessageContentCell
used to display location messages.Declaration
Swift
open class LocationMessageCell: MessageContentCell
-
A UIStackView that’s intended for holding
InputBarButtonItem
sImportant Notes
- Default alignment is .fill
- Default distribution is .fill
- The distribution property needs to be based on its arranged subviews intrinsicContentSize so it is not recommended to change it
Declaration
Swift
open class InputStackView: UIStackView
-
A InputItem that inherits from UIButton
Important Notes
- Intended to be used in an
InputStackView
Declaration
Swift
open class InputBarButtonItem: UIButton
- Intended to be used in an
-
Undocumented
See moreDeclaration
Swift
open class InsetLabel: UILabel
-
A powerful InputAccessoryView ideal for messaging applications
See moreDeclaration
Swift
open class MessageInputBar: UIView
-
Undocumented
See moreDeclaration
Swift
open class MessageReusableView: UICollectionReusableView
-
Undocumented
See moreDeclaration
Swift
open class MessageContainerView: UIImageView
-
A UITextView that has a UILabel embedded for placeholder text
Important Notes
- Changing the font, textAlignment or textContainerInset automatically performs the same modifications to the placeholderLabel
- Intended to be used in an
MessageInputBar
- Default placeholder text is
New Message
- Will pass a pasted image it’s
MessageInputBar
‘sInputManager
s
Declaration
Swift
open class InputTextView: UITextView
-
A subclass of
See moreMessageContentCell
used to display text messages.Declaration
Swift
open class TextMessageCell: MessageContentCell
-
The layout attributes used by a
See moreMessageCollectionViewCell
to layout its subviews.Declaration
Swift
open class MessagesCollectionViewLayoutAttributes: UICollectionViewLayoutAttributes
-
Undocumented
See moreDeclaration
Swift
open class AvatarView: UIImageView
-
A subclass of
See moreMessageContentCell
used to display video and audio messages.Declaration
Swift
open class MediaMessageCell: MessageContentCell
-
Undocumented
See moreDeclaration
Swift
open class TextMessageSizeCalculator: MessageSizeCalculator
-
A subclass of
See moreUICollectionViewCell
to be used inside of aMessagesCollectionView
.Declaration
Swift
open class MessageCollectionViewCell: UICollectionViewCell
-
Undocumented
See moreDeclaration
Swift
open class MessageKitDateFormatter
-
Undocumented
See moreDeclaration
Swift
open class MessageLabel: UILabel
-
Undocumented
See moreDeclaration
Swift
open class PlayButtonView: UIView
-
A subclass of
See moreUIViewController
with aMessagesCollectionView
object that is used to display conversation interfaces.Declaration
Swift
open class MessagesViewController: UIViewController, UICollectionViewDelegateFlowLayout, UICollectionViewDataSource
-
The layout object used by
See moreMessagesCollectionView
to determine the size of all framework providedMessageCollectionViewCell
subclasses.Declaration
Swift
open class MessagesCollectionViewFlowLayout: UICollectionViewFlowLayout
-
Undocumented
See moreDeclaration
Swift
open class MessagesCollectionView: UICollectionView
-
An object is responsible for sizing and configuring cells for given
See moreIndexPath
s.Declaration
Swift
open class CellSizeCalculator
-
Undocumented
See moreDeclaration
Swift
open class MediaMessageSizeCalculator: MessageSizeCalculator
-
Undocumented
See moreDeclaration
Swift
open class MessageSizeCalculator: CellSizeCalculator
-
Undocumented
See moreDeclaration
Swift
open class LocationMessageSizeCalculator: MessageSizeCalculator
-
A UIView thats intrinsicContentSize is overrided so an exact height can be specified
Important Notes
- Default height is 1.0
- Default backgroundColor is UIColor.lightGray
- Intended to be used in an
InputStackView
Declaration
Swift
open class SeparatorLine: UIView
-
A subclass of
See moreMessageCollectionViewCell
used to display text, media, and location messages.Declaration
Swift
open class MessageContentCell: MessageCollectionViewCell