Skip to content
New issue

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

tableView 两种重用cell的方法区别 | 东隅已逝/桑榆非晚 #35

Open
h1z3y3 opened this issue Apr 23, 2021 · 0 comments
Open

Comments

@h1z3y3
Copy link
Owner

h1z3y3 commented Apr 23, 2021

https://h1z3y3.me/posts/two-methods-to-reuse-cell/

今天在学习iOS开发的时候,偶然发现tableView有两种重用cell的方法。先整理一下方便日后查阅。
第一种:[tableView dequeueReusableCellWithIdentifier:identifier] (SDK 6.0之前)
第二种:[tableView dequeueReusableCellWithIdentifier:identifier forIndexPath:indexPath]] (SDK 6.0之后)
……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant