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

循环引用问题 #10

Open
wangml318 opened this issue Jun 21, 2016 · 1 comment
Open

循环引用问题 #10

wangml318 opened this issue Jun 21, 2016 · 1 comment

Comments

@wangml318
Copy link

ThirdVC.m的viewDidLoad方法里:

SMKMediator *mediator = [SMKMediator mediatorWithViewModel:self.viewModel viewManger:self.thirdViewManger];
self.thirdViewManger.smk_mediator = mediator;
self.viewModel.smk_mediator = mediator;

这段会有循环引用问题?

@zelinDavid
Copy link

zelinDavid commented Jun 28, 2017

这里会造成循环引用,不走dealloc我试过了

0358c77a-b7ac-4ed4-8319-23603e7fdcb0

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