Crate objc2_messages

Source
Expand description

§Bindings to the Messages framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

MSConversationMSConversation
Apple’s documentation
MSMessageMSMessage
The MSMessage encapsulates the data to be transferred to remote devices.
MSMessageErrorCodeMSMessageError
Apple’s documentation
MSMessageLayoutMSMessageLayout
The MSMessageLayout is an abstract base for classes that define a messages presentation in the conversation transcript.
MSMessageLiveLayoutMSMessageLayout and MSMessageLiveLayout
The MSMessageLiveLayout is used to indicate a message should be rendered in Messages using an instance of MSMessagesAppViewController with a presentationStyle of MSMessagesAppPresentationStyleTranscript.
MSMessageTemplateLayoutMSMessageLayout and MSMessageTemplateLayout
The MSMessageTemplateLayout encapsulates properties used in the construction of UI representing a message using the default message layout template.
MSMessagesAppPresentationContextMSMessagesAppViewController
Describes the context for which the extension was launched
MSMessagesAppPresentationStyleMSMessagesAppViewController
Describes how the extension is presented in Messages.
MSMessagesAppViewControllerMSMessagesAppViewController and objc2-ui-kit
Apple’s documentation
MSSessionMSSession
A MSSession establishes a relationship between a sequence of messages within a conversation.
MSStickerMSSticker
Apple’s documentation
MSStickerBrowserViewMSStickerBrowserView and objc2-ui-kit
A UIView subclass that can display a collection of sticker assets.
MSStickerBrowserViewControllerMSStickerBrowserViewController and objc2-ui-kit
The MSStickerBrowserViewController class creates a controller object that manages a MSStickerBrowserView.
MSStickerSizeMSStickerBrowserView
Sticker size is used to control the display size of the stickers in the Sticker Browser View.
MSStickerViewMSStickerView and objc2-ui-kit
A UIView subclass that can display sticker assets.

Statics§

MSMessagesErrorDomainMSMessageError
Apple’s documentation
MSStickersErrorDomainMSMessageError
Apple’s documentation

Traits§

MSMessagesAppTranscriptPresentationMSMessagesAppViewController
Apple’s documentation
MSStickerBrowserViewDataSourceMSStickerBrowserViewDataSource
The MSStickerBrowserViewDataSource protocol declares the methods that the Sticker Browser View uses to access the contents of its data source object.