Dynamic UICollectionViewCell size and Device Orientation

Hello my people, Leo Here.¬†Today I’ll show you how to set a dynamic size of a UICollectionViewCell based on device orientation. It’s simple but requires a little bit of lifecycle understanding. To achieve that, you will manipulate the *willTransition* method inside your UIViewController. Using UICollectionViewCells can be very easy and intuitive, but things begin to […]