AugustRush / UICollectionView-ARDynamicHeightLayoutCell

Automatically UICollectionViewCell size calculating.
MIT License
564 stars 86 forks source link

crush in getting cached size #4

Closed zjr999 closed 8 years ago

zjr999 commented 9 years ago

when there are two sections,the first use fixed size,and the second use ARDynamicHeightLayoutCell,it will crush.I see it crush in [self sizeCache][indexPath.section] for NSRangeException. change indexPath.section to 0 can solve this question.

AugustRush commented 9 years ago

thanks,I will check it.

发自我的 iPhone

在 2015年7月23日,11:14,Bell notifications@github.com 写道:

when there are two sections,the first use fixed size,and the second use ARDynamicHeightLayoutCell,it will crush.I see it crush in [self sizeCache][indexPath.section] for NSRangeException. change indexPath.section to 0 can solve this question.

— Reply to this email directly or view it on GitHub.

fenomenar9 commented 8 years ago

The crash still persist. Please check this.

AugustRush commented 8 years ago

I just fixed it ,sorry! please check it.