Trait MSMessagesAppTranscriptPresentation

Source
pub unsafe trait MSMessagesAppTranscriptPresentation {
    // Provided method
    unsafe fn contentSizeThatFits(&self, size: CGSize) -> CGSize
       where Self: Sized + Message { ... }
}
Available on crate feature MSMessagesAppViewController only.
Expand description

Provided Methods§

Source

unsafe fn contentSizeThatFits(&self, size: CGSize) -> CGSize
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.

The content size of the view controller’s view fitting the constraining size.

This method will only be called if the presentationStyle is MSMessagesAppPresentationStyleTranscript.

Parameter size: The maximum size the view will be displayed at.

Trait Implementations§

Source§

impl ProtocolType for dyn MSMessagesAppTranscriptPresentation

Source§

const NAME: &'static str = "MSMessagesAppTranscriptPresentation"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn MSMessagesAppTranscriptPresentation

Implementations on Foreign Types§

Source§

impl<T> MSMessagesAppTranscriptPresentation for ProtocolObject<T>

Implementors§