Ok, let me try rephrasing the question: You have an array of images "imageArray" with one special one "carousel1Image" (selected by newViewController). You want the carousel to go around and around for N seconds and then land on the special one?
If that's correct, something like this should work...
-(void) spinCarousel: (iCarousel *) carousel toIndex:(NSInteger) targetIndex {
NSInteger imagesPerSecond = 5;
double secondsToScroll = 10.7550f;
NSUInteger currIndex = [carousel currentItemIndex];
NSUInteger numItems = [carousel numberOfItems] + [carousel numberOfPlaceholders];
NSUInteger timesAround = floor(secondsToScroll*imagesPerSecond/numItems);
NSInteger numToScroll = timesAround*numItems + targetIndex-currIndex;
[carousel scrollByNumberOfItems:numToScroll duration: secondsToScroll];
}
[self spinCarousel: carousel1 toIndex:[imageArray indexOfItem:carousel1Image]];
[self spinCarousel: carousel2 toIndex:[imageArray indexOfItem:carousel2Image]];
====Old Answer====
I share the confusion of others about what the goal is. For example, it's not clear what a "price" is and what it has to do with your slot machine? "I want the user to pick their last price, it means that the last view or image to where my icarousel can stop" Sorry, but that doesn't match my understanding of the word "price".
But reading your scenario at the end: "what I want is when the user click a UITableViewCell or thumbnail with a specific image from the array, it will pass something/value to my UIButton spin, so that the image click from the UITableViewCell will be the last price." I interpret that as EITHER there is a single value that your spin button needs to have access to OR that there is a value for EACH image that your spin button needs to have access to. Either one seems simple, so I'm not sure why the question.
Assuming it's the first (a single price), then why can't you just have your settings controller set a property with that value (same as how you pass your image NSMutableArray)?
If it's the second (a value for each image), then either create two parallel arrays, one with the price and one with the image, OR have an array with dictionaries in it, each with a price and an image.