25th Day As An iOS Developer With No Experience

photo from: lifehack

October 8, 2015 - 25th Day As An iOS Developer With No Experience.

THURSDAY - My time was wasted. I discovered some easy way to adjust the spacing between cell items in UICollectionView. I think I have spend almost 4 hours in configuring the collectionView layout of my 1st project. What a waste.

- (CGFloat) collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumLineSpacingForSectionAtIndex:(NSInteger)section


    return 4;


- (CGFloat) collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout minimumInteritemSpacingForSectionAtIndex:(NSInteger)section


    return 1;


As I was typing this post, I was cleaning up the laptop (my used to be laptop) of my cousin. Installing AVG is soooo, I mean takes so much time. I think this would be all for now. Subscribe! *smiley*

Post a Comment