I know:
UICollectionView must be initialized with a non-nil layout parameter.
But sometimes we need more than one kind of layout in a collectionView.
For example:the first section is normal vertical layout but the second section is waterfall layout.
So I wonder if there any way to achive it.
I would appreciate it if anyone could give me a useful info.