2016年11月24日
摘要: 有时候,我们经常碰到这样的需求 先遵守代理 @interface PublishCollectionCell ()<UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout> 创建 阅读全文
posted @ 2016-11-24 12:18 ZOYOO 阅读(574) 评论(0) 推荐(0) 编辑
摘要: import UIKit //UICollectionViewLayout //itemSize属性 //设定全局的Cell尺寸,如果想要单独定义某个Cell的尺寸,可以使用下面方法: // - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collecti... 阅读全文
posted @ 2016-11-24 11:37 ZOYOO 阅读(8848) 评论(0) 推荐(0) 编辑