Data Source Methods

The following data source methods are available:

//Specify the number of wedges in the spin wheel by returning a positive value that is greater than 1
func numberOfWedgesInSpinWheel(spinWheel: SpinWheelControl) -> UInt
//Returns the SpinWheelWedge at the specified index of the SpinWheelControl
func wedgeForSliceAtIndex(index: UInt) -> SpinWheelWedge

Delegate Methods

The following delegate methods are available:

//Triggered when the spin wheel control has come to rest after spinning.
func spinWheelDidEndDecelerating(spinWheel: SpinWheelControl)
//Triggered at various intervals. The variable radians describes how many radians the spin wheel control has moved since the last time this method was called.
func spinWheelDidRotateByRadians(radians: CGFloat)