pub unsafe trait UIPickerViewDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn pickerView_widthForComponent(
&self,
picker_view: &UIPickerView,
component: NSInteger,
) -> CGFloat
where Self: Sized + Message { ... }
fn pickerView_rowHeightForComponent(
&self,
picker_view: &UIPickerView,
component: NSInteger,
) -> CGFloat
where Self: Sized + Message { ... }
fn pickerView_titleForRow_forComponent(
&self,
picker_view: &UIPickerView,
row: NSInteger,
component: NSInteger,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn pickerView_attributedTitleForRow_forComponent(
&self,
picker_view: &UIPickerView,
row: NSInteger,
component: NSInteger,
) -> Option<Retained<NSAttributedString>>
where Self: Sized + Message { ... }
fn pickerView_viewForRow_forComponent_reusingView(
&self,
picker_view: &UIPickerView,
row: NSInteger,
component: NSInteger,
view: Option<&UIView>,
) -> Retained<UIView>
where Self: Sized + Message { ... }
fn pickerView_didSelectRow_inComponent(
&self,
picker_view: &UIPickerView,
row: NSInteger,
component: NSInteger,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIPickerView only.Expand description
Provided Methods§
fn pickerView_widthForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> CGFloat
Available on crate features
UIResponder and UIView and objc2-core-foundation only.fn pickerView_rowHeightForComponent( &self, picker_view: &UIPickerView, component: NSInteger, ) -> CGFloat
Available on crate features
UIResponder and UIView and objc2-core-foundation only.fn pickerView_titleForRow_forComponent( &self, picker_view: &UIPickerView, row: NSInteger, component: NSInteger, ) -> Option<Retained<NSString>>
Available on crate features
UIResponder and UIView only.fn pickerView_attributedTitleForRow_forComponent( &self, picker_view: &UIPickerView, row: NSInteger, component: NSInteger, ) -> Option<Retained<NSAttributedString>>
Available on crate features
UIResponder and UIView only.fn pickerView_viewForRow_forComponent_reusingView( &self, picker_view: &UIPickerView, row: NSInteger, component: NSInteger, view: Option<&UIView>, ) -> Retained<UIView>
Available on crate features
UIResponder and UIView only.fn pickerView_didSelectRow_inComponent( &self, picker_view: &UIPickerView, row: NSInteger, component: NSInteger, )
Available on crate features
UIResponder and UIView only.