Skip to content

Commit c33fa9b

Browse files
committed
Added weak for delegate property.
1 parent a3ebee9 commit c33fa9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/PuiSegmentedControl.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ open class PuiSegmentedControl: UIControl {
108108
}
109109
}
110110

111-
public var delegate: PuiSegmentedControlDelegate?
111+
public weak var delegate: PuiSegmentedControlDelegate?
112112

113113
// MARK: - Private Properties
114114

0 commit comments

Comments
 (0)