Enable SwiftLint rule 'weak_delegate' and fix all violations

This commit is contained in:
Danny Moesch 2020-07-05 23:47:33 +02:00 committed by Mingshen Sun
parent c5e88d82c9
commit e1cb280d4a
5 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ class SwitchTableViewCell: UITableViewCell {
private var updater: ((Bool) -> Void)!
private var delegate: PasswordSettingSliderTableViewCellDelegate!
private weak var delegate: PasswordSettingSliderTableViewCellDelegate!
@IBAction
private func switchValueChanged(_: Any) {