([[UIScreen mainScreen] bounds].size.width - 28) / 4.00 没加括号
collectioView不能正常撑开
用flowLayout 不要用 代理方法!!!!
NMFourCollectFloatLayout *flow = [[NMFourCollectFloatLayout alloc]init];
flow.itemSize = CGSizeMake((kScreen_Width - 30) / 4.00, 105);
flow.minimumInteritemSpacing = 0;
下面的不行
//- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
// NSInteger count = self.dataSource.count > 0 ? self.dataSource.count : 1;
//
// CGFloat width = ([[UIScreen mainScreen] bounds].size.width - 50) / 4.00; // 25 30 60可以
// DZLog(@"width-%f,--%d,--%f",width,count, collectionView.width); // width-97.5 换行 97.250000 96.500000 96
// return CGSizeMake(width, 105);
//}