- Create the Wheel Object
//// Declare the wheel object
@property (nonatomic, retain) Wheel * wheel;
//// In ViewDidLoad
wheel = [[Wheel alloc] initWithData: yourWheelImageView numberOfSlice: nbOfSlices needle: needleImageView];
- Spin the wheel to index
[wheel spinTo: 4];
Implement the callback that allows you to be notified when the animation is done
//// Callback Done Animating
@property (nonatomic, retain) id <DoneAnimating> callback;
//// In ViewDidLoad
wheel.callback = self;
//// Method
- (void) doneAnimating {
// Code After Animation Done
}