Skip to content

Commit f608dda

Browse files
committed
Change isSigned to be observable
Add "dynamic" keyword to isSigned so it can be observed from the outside with KVO so the ViewControllers can react to the user writing something (for example by enabling the done button)
1 parent 0063a3f commit f608dda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Pod/Classes/EPSignatureView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ open class EPSignatureView: UIView {
2222

2323
open var strokeColor = UIColor.black
2424
open var strokeWidth: CGFloat = 2.0
25-
open var isSigned: Bool = false
25+
dynamic open var isSigned: Bool = false
2626

2727
// MARK: - Initializers
2828

0 commit comments

Comments
 (0)