We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
生成LayoutAttributes时创建indexPath用indexPathWithIndex,会导致在swift中的collectionView返回组头viewForSupplementaryElementOfKind这个方法取indexPath.section时崩溃。改成 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:i]; 就好了
The text was updated successfully, but these errors were encountered:
@451222664 谢谢 没有用 swift 试过 ,最近会改写成 swift
Sorry, something went wrong.
跟Swift没关系,你在你demo的viewForSupplementaryElementOfKind方法打印 indexPath.section 也会崩
No branches or pull requests
生成LayoutAttributes时创建indexPath用indexPathWithIndex,会导致在swift中的collectionView返回组头viewForSupplementaryElementOfKind这个方法取indexPath.section时崩溃。改成
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:i];
就好了
The text was updated successfully, but these errors were encountered: