BEResponderEditActions

Trait BEResponderEditActions 

Source
pub unsafe trait BEResponderEditActions: UIResponderStandardEditActions {
    // Provided methods
    unsafe fn share(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn addShortcut(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn lookup(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn findSelected(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn promptForReplace(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn replace(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn translate(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
    unsafe fn transliterateChinese(&self, sender: Option<&AnyObject>)
       where Self: Sized + Message { ... }
}
Available on crate feature BETextInput only.
Expand description

Provided Methods§

Source

unsafe fn share(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Shares the selected content. See corresponding share methods in BETextInteraction.

§Safety

sender should be of the correct type.

Source

unsafe fn addShortcut(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Adds a text replacement shortcut to the keyboard dictionary. See corresponding shortcut methods in BETextInteraction.

§Safety

sender should be of the correct type.

Source

unsafe fn lookup(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Presents a dictionary definition for the selected content. See corresponding dictionary methods in BETextInteraction.

§Safety

sender should be of the correct type.

Source

unsafe fn findSelected(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Performs a find for the selected content See find related methods in UIResponderStandardEditActions

§Safety

sender should be of the correct type.

Source

unsafe fn promptForReplace(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Shows the replacements for the selected content. See corresponding replacement methods in BETextInteraction.

§Safety

sender should be of the correct type.

Source

unsafe fn replace(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Inserts the selected replacement for the selected content. See corresponding replacement methods in BETextInputDelegate

§Safety

sender should be of the correct type.

Source

unsafe fn translate(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Presents a translation view for the selected content. See corresponding translation methods in BETextInteraction.

§Safety

sender should be of the correct type.

Source

unsafe fn transliterateChinese(&self, sender: Option<&AnyObject>)
where Self: Sized + Message,

Converts the selected content between traditional and simplified Chinese See corresponding transliteration methods in BETextInteraction.

§Safety

sender should be of the correct type.

Trait Implementations§

Source§

impl ProtocolType for dyn BEResponderEditActions

Source§

const NAME: &'static str = "BEResponderEditActions"

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 BEResponderEditActions

Implementations on Foreign Types§

Source§

impl<T> BEResponderEditActions for ProtocolObject<T>

Implementors§