NHBalancedFlowLayout icon indicating copy to clipboard operation
NHBalancedFlowLayout copied to clipboard

Do not add layout attributes for header or footer if size is zero

Open haitaoli opened this issue 10 years ago • 0 comments

Header and footer always have width of the view, so comparison with CGSizeZero always fails. This causes crash when calling [UICollectionView insertSections:].

haitaoli avatar Apr 08 '14 01:04 haitaoli