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

What about deallocating objects #6

Open
LiborZ opened this issue Oct 16, 2015 · 1 comment
Open

What about deallocating objects #6

LiborZ opened this issue Oct 16, 2015 · 1 comment
Labels

Comments

@LiborZ
Copy link

LiborZ commented Oct 16, 2015

I am thinking about start using mvvm, bindings and reactive programming and I like SwiftBond. Example looks great but I am worried about deallocating and retain cycles.

I've tried to add:

deinit {
    print("ListViewController deinit")
}

But after returning to LoginViewController it's not printed. Same when I added deinit to ListViewModel. Why is that? How can I fix it?

@srdanrasic
Copy link
Contributor

Yeah, that's not good. I'll look into it.

@srdanrasic srdanrasic added the bug label Oct 16, 2015
yanamura added a commit to yanamura/Bond-Demo-App that referenced this issue Oct 25, 2015
yanamura added a commit to yanamura/Bond-Demo-App that referenced this issue Oct 25, 2015
srdanrasic added a commit that referenced this issue Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants