Implemented Scott Feedback.
Removed open keyword.
This commit is contained in:
parent
5ca26a394d
commit
b3020d9534
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user