Skip to main content

UIPickerViewAccessibilityDelegate

Trait UIPickerViewAccessibilityDelegate 

Source
pub unsafe trait UIPickerViewAccessibilityDelegate: UIPickerViewDelegate + MainThreadOnly {
    // Provided methods
    fn pickerView_accessibilityLabelForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    fn pickerView_accessibilityHintForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    fn pickerView_accessibilityUserInputLabelsForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Retained<NSArray<NSString>>
       where Self: Sized + Message { ... }
    fn pickerView_accessibilityAttributedLabelForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    fn pickerView_accessibilityAttributedHintForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    fn pickerView_accessibilityAttributedUserInputLabelsForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Retained<NSArray<NSAttributedString>>
       where Self: Sized + Message { ... }
}
Available on crate features UIAccessibilityAdditions and UIPickerView only.
Expand description

Provided Methods§

Source

fn pickerView_accessibilityLabelForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn pickerView_accessibilityHintForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn pickerView_accessibilityUserInputLabelsForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Retained<NSArray<NSString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn pickerView_accessibilityAttributedLabelForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn pickerView_accessibilityAttributedHintForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.
Source

fn pickerView_accessibilityAttributedUserInputLabelsForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> Retained<NSArray<NSAttributedString>>
where Self: Sized + Message,

Available on crate features UIResponder and UIView only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn UIPickerViewAccessibilityDelegate

Source§

impl ProtocolType for dyn UIPickerViewAccessibilityDelegate

Source§

const NAME: &'static str = "UIPickerViewAccessibilityDelegate"

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> UIPickerViewAccessibilityDelegate for ProtocolObject<T>

Implementors§