Trait UIPickerViewAccessibilityDelegate

Source
pub unsafe trait UIPickerViewAccessibilityDelegate: UIPickerViewDelegate + MainThreadOnly {
    // Provided methods
    unsafe fn pickerView_accessibilityLabelForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn pickerView_accessibilityHintForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn pickerView_accessibilityUserInputLabelsForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Retained<NSArray<NSString>>
       where Self: Sized + Message { ... }
    unsafe fn pickerView_accessibilityAttributedLabelForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe fn pickerView_accessibilityAttributedHintForComponent(
        &self,
        picker_view: &UIPickerView,
        component: NSInteger,
    ) -> Option<Retained<NSAttributedString>>
       where Self: Sized + Message { ... }
    unsafe 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

unsafe 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

unsafe 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

unsafe 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

unsafe 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

unsafe 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

unsafe 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 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
Source§

impl<T> ImplementedBy<T> for dyn UIPickerViewAccessibilityDelegate

Implementations on Foreign Types§

Source§

impl<T> UIPickerViewAccessibilityDelegate for ProtocolObject<T>

Implementors§