Masonry view is a grid layout for displaying content in a uneven distributed manner. It is like placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. You’ve probably seen it in use all over the Internet.
This demo project is in objective-c for creating a masonry view using the images actual resolution. Images height is calculated before download and custom view has been created. Have a look!