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
Hi!
I have some misunderstanding. In you code we have retain-cycle ViewController <-> Presenter. How do you avoid leaks?
@interface ExamplePresenter : NSObject <ExampleModuleInterface> @property (nonatomic, strong) ExampleInteractor *interactor; @property (nonatomic, strong) ExampleWireframe *wireframe; @property (nonatomic, strong) UIViewController<ExampleViewInterface> *userInterface; @end @interface ExampleViewController : UIViewController <ExampleViewInterface> @property (nonatomic, strong) id<ExampleModuleInterface> eventHandler; // *** add UI events here @end
The text was updated successfully, but these errors were encountered:
PS: found similar issues for tutorials: mutualmobile/VIPER-TODO#2 objcio/issue-13-viper#4
I think the easiest way is to make reference from presenter to viewController weak.
Sorry, something went wrong.
@pilot34 Thanks for pointing it out! The issue is fixed with eda0f7b and the updated gem is published with version 0.3.2
How long do you use boa in your projects? We're glad to receive any feedbacks! :)
exoszajzbuk
No branches or pull requests
Hi!
I have some misunderstanding. In you code we have retain-cycle ViewController <-> Presenter. How do you avoid leaks?
The text was updated successfully, but these errors were encountered: