The collection view is a great UI element but it doesn't handle elements with various content sizes elegantly. JMCFlexibleCollectionLayout based on customizable parameters like spacing between cells, margins, and maximum row height calculates and displays a collection view grid that maintains aspect ratio of the elements. It serves role of both UICollectionViewDataSource and UICollectionViewDelegate.
Get all the logs you need and fix bugs, crashes, and other issues in minutes instead of days. With Instabug you will automatically receive device data, network logs, and reproduction steps with every bug and crash report. It only takes a line of code to integrate and is perfect for teams that are now working remotely. See more detailed features comparison and try Instabug for free here.