public struct RVS_SpinnerDataItem
This struct is used to represent one value of the spinner.
It has only one required value: an icon, represented by a UIImage. It can be any size, but you shouldn’t need anything bigger than about 100 display units square.
This is the optional title for the data item.
public let title: String
This is the required image to be displayed for the data item. This is what is most prominently displayed.
public let icon: UIImage
This is an optional description String, which can provide more detailed information about the data item.
public let description: String?
This is any associated data value. It is an optional
Any,and needs to be cast.
public let value: Any?
The default initializer. The only required argument is the icon.
A String, with the title of this value. This is optional. Default is a blank String.
An image to be displayed for the value. This is the only required argument.
An optional String (default is nil), with a description of the value.
An optional value (default is nil) to be associated with this value item.