I have a View with an imageView and collectionView. ImageView is in the left top corner of screen with size (150,250).CollectionView is full-screen. Cell of collectionView has label inside it.
When the cell is near the imageView, it should have smaller width. When the cell is lower then imageView, it should be on full width. This should also work, while scrolling, so cell's size should change dynamically. So, I need to make a custom layout. I thought, that "layoutAttributesForElementsInRect:" is an answer. But how to make cell attributes change in certain rectangle? Or am I looking to the wrong direction? Thank you in advance.
