Search Results for uicollectionviewcell
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.
ADLivelyCollectionView brings custom animations to UICollectionView. The library comes with pre-defined animations. They are here mainly for demo purposes and we encourage you design your own, in order to produce more subtle visual effects. It’s less than ten lines of code to write! ADLivelyCollectionView was designed as a subclass of UICollectionView, making its integration as simple as adding two files to your project and turning your instances of UICollectionView into instances of ADLivelyCollectionView.
PQCollectionViewCell is based on the logic behind PQTableViewCell, applied on a UICollectionViewCell. To use, subclass PQCollectionViewCell, and use `drawCellView:` instead of `drawRect:` when you want to draw something on the cell. I recommend to draw strings and images for a faster and smoother scrolling. Notes: PQCollectionViewCell removes all the original content but selectedBackgroundView. Bringing it on front we are able to use it for a selected or highlighted status.