I got an app with one table. First cell is the coverflow from iCarousel.
When i rotate coverflow and items changed i reload table view:
-(void)carouselDidScroll:(iCarousel *)_carousel{
if (curCategory != _carousel.currentItemIndex)
{
curCategory=(int)_carousel.currentItemIndex;
NSLog(@"%i",curCategory);
[table reloadData];
}
}
But this code drop finger action of rotating. Because first cell with coverflow reload too.
Can i reload table, but dont touch first cell?
You can reload just a range of cells using reloadRowsAtIndexPaths:
It might make more sense to make the carousel be the table header view instead of the first cell though.