Get Updates By E-mail 

Article Written By:
Johann Dowa

UICollectionViewFlowLayout Example: Easily Create Great Looking Scrollable Grid Layouts

  •  
  •  
  •  
  •  
  •  

I’ve mentioned UICollectionView a number of times most recently in this excellent in-depth tutorial on creating custom UICollectionView layouts.

Here’s an example showing how to use the UICollectionViewFlowLayout object to quickly create a grid style view with content that flows nicely based on a user’s scrolling.

The example populates the UICollectionView with images, and you can see how easy it is to make a great looking view that automatically adjusts for different orientations complete with animations.

Here’s a screenshot of the example in action:

UICollectionViewFlowLayout

You can find UICollectionViewFlowLayoutExample on Github here.

A nice straightforward example showing how to use UICollectionViewFlowLayout.


  •  
  •  
  •  
  •  
  •  

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