VKHorizontalPickerDataSource
@objc
public protocol VKHorizontalPickerDataSource
Protocols to specify the number and type of contents.
-
Declaration
Swift
func numberOfItemsInPickerView(_ pickerView: VKHorizontalPicker) -> Int
-
Declaration
Swift
@objc optional func pickerView(_ pickerView: VKHorizontalPicker, titleForItem item: Int) -> String
-
Declaration
Swift
@objc optional func pickerView(_ pickerView: VKHorizontalPicker, imageForItem item: Int) -> UIImage