Say I do this:
[self.collectionView setCollectionViewLayout:myNewLayout animated:YES];
What is the duration of the animation that happens?<
It you know you're inside a UIView animation, then [CATransaction animationDuration] will give you what you need.
UIView
[CATransaction animationDuration]