I am running this line of code:
self.myCollectionView.scrollToItemAtIndexPath(myIndexPath, atScrollPosition: .Bottom, animated: true)
It works fine.
What I am trying to figure out is how to change the animation duration. I want to be able to scroll fairly slow but I can't seem to find a way to change the default duration of the animation to the value I want.
Anybody know how to do this?
I tried wrapping that line inside a CATransacation and set a custom transaction animation but that didn't work either.