diff --git a/Pod/Classes/EPSignatureViewController.swift b/Pod/Classes/EPSignatureViewController.swift index 249d3b8..0170e35 100644 --- a/Pod/Classes/EPSignatureViewController.swift +++ b/Pod/Classes/EPSignatureViewController.swift @@ -79,15 +79,15 @@ open class EPSignatureViewController: UIViewController { // MARK: - Initializers - public convenience init(signatureDelegate: EPSignatureDelegate) { + @objc public convenience init(signatureDelegate: EPSignatureDelegate) { self.init(signatureDelegate: signatureDelegate, showsDate: true, showsSaveSignatureOption: true) } - public convenience init(signatureDelegate: EPSignatureDelegate, showsDate: Bool) { + @objc public convenience init(signatureDelegate: EPSignatureDelegate, showsDate: Bool) { self.init(signatureDelegate: signatureDelegate, showsDate: showsDate, showsSaveSignatureOption: true) } - public init(signatureDelegate: EPSignatureDelegate, showsDate: Bool, showsSaveSignatureOption: Bool ) { + @objc public init(signatureDelegate: EPSignatureDelegate, showsDate: Bool, showsSaveSignatureOption: Bool ) { self.showsDate = showsDate self.showsSaveSignatureOption = showsSaveSignatureOption self.signatureDelegate = signatureDelegate