多维数组的CollectionView 报错,原因在
(NSArray *)layoutAttributesForElementsInRect:(CGRect)rect 这个方法,不管cell的数据是多少组,这里只返回一维数组
(NSArray *)layoutAttributesForElementsInRect:(CGRect)rect 这个方法,不管cell的数据是多少组,这里只返回一维数组
多维数组的CollectionView 报错,原因在
(NSArray *)layoutAttributesForElementsInRect:(CGRect)rect 这个方法,不管cell的数据是多少组,这里只返回一维数组
(NSArray *)layoutAttributesForElementsInRect:(CGRect)rect 这个方法,不管cell的数据是多少组,这里只返回一维数组