I attached images what I have done and what I have to achieve. Please guide me to achieve this.
I have done till now:
I want to achieve the following:
Here is my code:
- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
CGSize size;
if (indexPath.row == DIGIT_INT_2 || indexPath.row == DIGIT_INT_6 || indexPath.row == DIGIT_INT_7)
size = CGSizeMake(150, 68);
else if (indexPath.row == DIGIT_INT_3 || indexPath.row == 13)
size = CGSizeMake(150, 150);
else
size = CGSizeMake(68, 68);
return size;
}