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
Detected redundant observation of #21
Comments
Handling |
i tried on demo project with only two controllers this is logs *** 0x0000000103106690 Firs view controller regiseter for theme first theme As you can see few times second view contoller has same memory address App delegate: First view controller:
}` Second view controller: `class SecondViewController: UIViewController, Themeable {
}` AplicationTheme: struct ApplicationTheme: Theme {
} struct SecondVCTheme: Theme {
} struct FirstVCTheme: Theme {
}` |
If you get |
I use gestalt same as you describe in Usage part. I don't use storyboard or xib (entire project is in code). I have custom views in my controller and every view has it's own theme also controller. When i push or present controller for first time everything is fine, but if i pop or dissmiss and push again i get "Detected redundant observation" from some view or controller. I looked up in your demo project and in appdelegate there is var disposables: [Disposable]?. I haven't implement that stuff. I check for retain cycle all views and controller deinitialized properly. Any help for Detected redundant observation??
The text was updated successfully, but these errors were encountered: