Get current Index
anudeep94 opened this issue · comments
How to get the current index of the view displayed?, i need to change value of a label outside carousel according to the index of the carousel.
func carouselCurrentItemIndexDidChange(_ carousel: iCarousel) {
let myString = myArray[myCarouselView.currentItemIndex]
myUILabel.text = myString
}