Custom Collection View Layout - Part 4: Pinterest – | Ray Wenderlich

Learn how to size your cells so that the image width matches the column width while the height is then adjusted to maintain the aspect ratio of the photo.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3663-custom-collection-view-layout/lessons/4