Implemented Scott Feedback.

Removed open keyword.
This commit is contained in:
Khan, Arshad 2020-06-12 00:57:36 +05:30
parent 5ca26a394d
commit b3020d9534

View File

@ -8,9 +8,9 @@
public typealias BarButtonAction = (BarButtonItem) -> ()
@objc open class ActionDelegate: NSObject {
open var buttonAction: BarButtonAction?
@objc open func callActionBlock(_ sender: BarButtonItem) {
@objc class ActionDelegate: NSObject {
var buttonAction: BarButtonAction?
@objc func callActionBlock(_ sender: BarButtonItem) {
buttonAction?(sender)
}
}
@ -22,7 +22,7 @@ public typealias BarButtonAction = (BarButtonItem) -> ()
//--------------------------------------------------
open weak var buttonDelegate: ButtonDelegateProtocol?
open var actionDelegate: ActionDelegate?
var actionDelegate: ActionDelegate?
//--------------------------------------------------
// MARK: - Methods