How to resize collection View cells ( likely PInterest app )

797 Views Asked by At

I need to develop the uicollectionview with uneven cell sizes ( likely PInterest App format ).

Here am using some custom collectionview cell class to represent my cell image and cell name. so kindly suggest me the way to do

2

There are 2 best solutions below

0
ghkaren On

You need to reload single cell, and I think you need to use this UICollectionView method

- (void)reloadItemsAtIndexPaths:(NSArray *)indexPaths;
0
Jatin Patel - JP On

UICollection is the way that you can create app have pinterest like UI. UICollectionView is allowed to dynamic render its size.

Here are the sample code that have pinterst like UI.

UICollectionViewWaterfallLayout
JSPintDemo
WaterflowView
NHBalancedFlowLayout

if you are beginner in UICollectionView then bellowed link will help you.

beginning-uicollectionview-in-ios-6

Hope this help you.