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

没有延迟加载的吗 #9

Open
longhongwei17 opened this issue Nov 30, 2017 · 5 comments
Open

没有延迟加载的吗 #9

longhongwei17 opened this issue Nov 30, 2017 · 5 comments

Comments

@longhongwei17
Copy link

好像一次性会 全部加载完。

@panghaijiao
Copy link
Owner

这个只是创建VC,你的页面数据不需要在didload里面加载,可以放到willappear或者didappear里面开始加载

@longhongwei17
Copy link
Author

嗯嗯 习惯把一些初始化的东西丢在didload 放在willappear里面还需要去判断 不可以做成需要的时候 再去alloc 么

@panghaijiao
Copy link
Owner

理论上做应该是可以的,但是改动会比较大,后面版本考虑下!

@longhongwei17
Copy link
Author

赞一个 看好 好多库 感觉 都是各种kvo 代理处理 坑多

@panghaijiao
Copy link
Owner

使用kvo代理是为了尽量使用系统库,这样可以引入更少了三方库,也更独立,此外,使用代理是为了让用户更熟悉,毕竟UITableView使用多了,再看同类型的库,不需要文档,马上就能上手!

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