Wootric / WootricSDK-iOS

Wootric iOS SDK to show NPS, CSAT and CES surveys
MIT License
13 stars 24 forks source link

Define the `viewController` as weak in `WTRQuestionView`. #111

Open reggian opened 1 year ago

reggian commented 1 year ago

The WTRSurveyViewController has a strong reference to the WTRQuestionView *questionView. Since the controller is the owner of the view, the back reference from the view to the controller should be weak to break the retain cycle.