Skip to main content

UIFontPickerViewControllerDelegate

Trait UIFontPickerViewControllerDelegate 

Source
pub unsafe trait UIFontPickerViewControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn fontPickerViewControllerDidCancel(
        &self,
        view_controller: &UIFontPickerViewController,
    )
       where Self: Sized + Message { ... }
    fn fontPickerViewControllerDidPickFont(
        &self,
        view_controller: &UIFontPickerViewController,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIFontPickerViewController only.
Expand description

Provided Methods§

Source

fn fontPickerViewControllerDidCancel( &self, view_controller: &UIFontPickerViewController, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

fn fontPickerViewControllerDidPickFont( &self, view_controller: &UIFontPickerViewController, )
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIFontPickerViewControllerDelegate

Source§

impl ProtocolType for dyn UIFontPickerViewControllerDelegate

Source§

const NAME: &'static str = "UIFontPickerViewControllerDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> UIFontPickerViewControllerDelegate for ProtocolObject<T>

Implementors§

Source§

impl UIFontPickerViewControllerDelegate for UITextFormattingCoordinator

Available on crate feature UITextFormattingCoordinator only.