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

请问楼主 优酷回复列表中,最新回复如何插入到最前面? #3

Open
AcceleratorYY opened this issue Jan 28, 2019 · 1 comment

Comments

@AcceleratorYY
Copy link

请问楼主 优酷回复列表中,最新回复如何插入到最前面?

谢谢~
snip20190128_1

@CoderMikeHe
Copy link
Owner

这个挺简单吧,评论列表本身只是一个数组,你只需要把最新评论插入到索引为0,即可。类似于[self.dataSource insertObject:obj atIndex:0]

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

No branches or pull requests

2 participants