Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source UICollectionView Gallery Layout That Preserves Aspect Ratio

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a number of UICollectionView layouts for displaying images most recently the Airbnb inspired NVBNBCollectionView.

Here’s an open source UICollectionView layout library that provides a layout that automatically adjusts based on the size of your images.

Greedo keeps the image aspect ratio, and calculates the best possible layout for your images. An example project is included.

Here’s an image from the readme showing a Greedo created image gallery:
Greedo

You can find Greedo on Github here.

A nice collection view layout for displaying images.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments