1

I am using Parse PFQueryTableViewController, it shows images in a list, i want to use CHTCollectionViewWaterfallLayout to show the images in a grid way like instagram, how do i implement this? i did the cocoapod but the demo code is way different.

Nikunj
  • 655
  • 3
  • 13
  • 25
farhan
  • 233
  • 1
  • 13

1 Answers1

2

If you are using xib or story board

select collectionView -> go to attribute inspector -> layout - select custom -> CHTCollectionViewWaterfallLayout

Include this delegate CHTCollectionViewDelegateWaterfallLayout in .h file and the use those delegate methods and then you are ready to go .

sourav
  • 779
  • 5
  • 14