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
目前我使用下面这种方式获取的cellWidth,感觉可以增加一个获取cellWidth和contentOffset的delegate。(我的应用场景是用CategoryView做表头,通过cellWidth绘制表格,然后和通过KVO获取的scrollView.contentOffset.x做表格和表头同步滚动的效果😓)。
cellWidth
contentOffset
scrollView.contentOffset.x
JXCategoryBaseCellModel *model = self.categoryTitleView.dataSource[0]; CGFloat cellWidth = model.cellWidth;
The text was updated successfully, but these errors were encountered:
scrollViewDidScroll
Sorry, something went wrong.
@pujiaxin33
1、版本很稳定了,不会有结构调整了,除非大重构,显然可能性很小了。 3、数据源属性dataSource都暴露出来了,为什么还要通过index获取cellWidth呢?对于后去cellWidth是便利了,但是api却稍显多余。
No branches or pull requests
目前我使用下面这种方式获取的cellWidth,感觉可以增加一个获取
cellWidth
和contentOffset
的delegate。(我的应用场景是用CategoryView做表头,通过cellWidth
绘制表格,然后和通过KVO获取的scrollView.contentOffset.x
做表格和表头同步滚动的效果😓)。The text was updated successfully, but these errors were encountered: