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
RT,谢谢
The text was updated successfully, but these errors were encountered:
蛮久没弄iOS了,组件化我也不清楚适不适用,但是MVVM应该是不会受很大影响, 只要保证每个模块能「关联」住ViewModel,ViewModel那层处理逻辑依旧可以复用。
Sorry, something went wrong.
感谢大佬回复,比如我用 https://github.com/meili/MGJRouter/ ,这种route做控制器跳转,每个组件都是独立的,通过mgj://foo/bar 跳转,咋们这个是viewmodel-base跳转的,咋结合在一起呢?感觉viewmodel-base构架的都耦合在一起了啊
是的, viewmodel-base跳转是耦合的,但是我是说每个控制器对应ViewModel,这个viewModel 是可以复用的。你改动的应该是把 之前 pushViweModel 改成 mgj://foo/bar这种方式 然后跳转的独立模块需要如何绑定注ViewModel。由于我对组件化也不是很熟悉,也不敢保证哈。
是的,是这样的
No branches or pull requests
RT,谢谢
The text was updated successfully, but these errors were encountered: