Implemented Scott Feedback.
Removed open keyword.
This commit is contained in:
parent
5ca26a394d
commit
b3020d9534
@ -8,9 +8,9 @@
|
|||||||
|
|
||||||
public typealias BarButtonAction = (BarButtonItem) -> ()
|
public typealias BarButtonAction = (BarButtonItem) -> ()
|
||||||
|
|
||||||
@objc open class ActionDelegate: NSObject {
|
@objc class ActionDelegate: NSObject {
|
||||||
open var buttonAction: BarButtonAction?
|
var buttonAction: BarButtonAction?
|
||||||
@objc open func callActionBlock(_ sender: BarButtonItem) {
|
@objc func callActionBlock(_ sender: BarButtonItem) {
|
||||||
buttonAction?(sender)
|
buttonAction?(sender)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -22,7 +22,7 @@ public typealias BarButtonAction = (BarButtonItem) -> ()
|
|||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
|
|
||||||
open weak var buttonDelegate: ButtonDelegateProtocol?
|
open weak var buttonDelegate: ButtonDelegateProtocol?
|
||||||
open var actionDelegate: ActionDelegate?
|
var actionDelegate: ActionDelegate?
|
||||||
|
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// MARK: - Methods
|
// MARK: - Methods
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user